Connections
Last update: 14.01.2025
Connections
class Ansys.ACT.Automation.Mechanical.Connections.Connections
Bases: object
Defines a Connections.
Overview
Methods
Name | Description |
---|---|
Activate |
Activate the current object. |
AddAMBondConnection |
Creates a new AMBondConnection |
AddBeam |
Creates a new Beam |
AddBearing |
Creates a new Bearing |
AddBodyInteraction |
Creates a new child BodyInteraction. |
AddComment |
Creates a new child Comment. |
AddConnectionGroup |
Creates a new ConnectionGroup |
AddContactRegion |
Creates a new child ContactRegion. |
AddContactSolutionInformation |
Creates a new ContactSolutionInformation |
AddContactTool |
Creates a new ContactTool |
AddEndRelease |
Creates a new EndRelease |
AddFigure |
Creates a new child Figure. |
AddImage |
Creates a new child Image. |
AddInterStage |
Creates a new child InterStage. |
AddJoint |
Creates a new child Joint. |
AddSpotWeld |
Creates a new child SpotWeld. |
AddSpotWeldGroup |
Creates a new child SpotWeldGroup. |
AddSpring |
Creates a new Spring |
CopyTo |
Copies all visible properties from this object to another. |
CreateAutomaticConnections |
Run the CreateAutomaticConnections action. |
CreateParameter |
Creates a new parameter for a Property. |
Duplicate |
Creates a copy of the current DataModelObject. |
ExportModelTopology |
ExportModelTopology method. |
GenerateInitialContactResults |
Generate Initial Contact Results and Mesh Parts |
GetChildren |
Gets the list of children, filtered by type. |
GetParameter |
Gets the parameter corresponding to the given property. |
GroupAllSimilarChildren |
Run the GroupAllSimilarChildren action. |
GroupSimilarObjects |
Run the GroupSimilarObjects action. |
PropertyByAPIName |
Get a property by its API name. |
PropertyByName |
Get a property by its unique name. |
RemoveParameter |
Removes the parameter from the parameter set corresponding to the given property. |
RepairOverlappingContactRegions |
Check for Overlapping Contact Regions. However, please note that this action does not result in any actual repair being performed. |
SearchConnectionsForDuplicatePairs |
Run the SearchConnectionsForDuplicatePairs action. |
Properties
Name | Description |
---|---|
Children |
Gets the list of children. |
Comments |
Gets the list of associated comments. |
DataModelObjectCategory |
Gets the current DataModelObject’s category. |
Figures |
Gets the list of associated figures. |
FixedJoints |
Gets or sets the FixedJoints. |
GenerateAutomaticConnectionOnRefresh |
Gets or sets the GenerateAutomaticConnectionOnRefresh. |
Images |
Gets the list of associated images. |
InternalObject |
Gets the internal object. For advanced usage only. |
Properties |
Gets the list of properties for this object. |
SolverFilesDirectory |
Gets or sets the SolverFilesDirectory. |
TransparencyEnabled |
Gets or sets the TransparencyEnabled. |
VisibleProperties |
Gets the list of properties that are visible for this object. |
Property detail
property Connections.Children : List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None
Gets the list of children.
property Connections.Comments : Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None
Gets the list of associated comments.
property Connections.DataModelObjectCategory : Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None
Gets the current DataModelObject’s category.
property Connections.Figures : Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None
Gets the list of associated figures.
property Connections.FixedJoints : bool | None
Gets or sets the FixedJoints.
property Connections.GenerateAutomaticConnectionOnRefresh : Ansys.Mechanical.DataModel.Enums.AutomaticOrManual | None
Gets or sets the GenerateAutomaticConnectionOnRefresh.
property Connections.Images : Iterable[Ansys.ACT.Automation.Mechanical.Image] | None
Gets the list of associated images.
property Connections.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSContactGroupAuto | None
Gets the internal object. For advanced usage only.
property Connections.Properties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties for this object.
property Connections.SolverFilesDirectory : str | None
Gets or sets the SolverFilesDirectory.
property Connections.TransparencyEnabled : bool | None
Gets or sets the TransparencyEnabled.
property Connections.VisibleProperties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties that are visible for this object.
Method detail
Connections.Activate()
Activate the current object.
Connections.AddAMBondConnection()
Creates a new AMBondConnection
Connections.AddBeam()
Creates a new Beam
Connections.AddBearing()
Creates a new Bearing
Connections.AddBodyInteraction()
Creates a new child BodyInteraction.
Connections.AddComment()
Creates a new child Comment.
Connections.AddConnectionGroup()
Creates a new ConnectionGroup
Connections.AddContactRegion()
Creates a new child ContactRegion.
Connections.AddContactSolutionInformation()
Creates a new ContactSolutionInformation
Connections.AddContactTool()
Creates a new ContactTool
Connections.AddEndRelease()
Creates a new EndRelease
Connections.AddFigure()
Creates a new child Figure.
Connections.AddImage(filePath: str)
Creates a new child Image.
If a filePath is provided, the image will be loaded from that file,
if not, the image will be a screen capture of the Geometry window.
Connections.AddInterStage()
Creates a new child InterStage.
Connections.AddJoint()
Creates a new child Joint.
Connections.AddSpotWeld()
Creates a new child SpotWeld.
Connections.AddSpotWeldGroup()
Creates a new child SpotWeldGroup.
Connections.AddSpring()
Creates a new Spring
Connections.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)
Copies all visible properties from this object to another.
Connections.CreateAutomaticConnections()
Run the CreateAutomaticConnections action.
Connections.CreateParameter(propName: str)
Creates a new parameter for a Property.
Connections.Duplicate()
Creates a copy of the current DataModelObject.
Connections.ExportModelTopology(filename: str)
ExportModelTopology method.
Connections.GenerateInitialContactResults()
Generate Initial Contact Results and Mesh Parts
Connections.GetChildren(recurses: bool, children: List[ChildrenType])
Gets the list of children, filtered by type.
Connections.GetParameter(propName: str)
Gets the parameter corresponding to the given property.
Connections.GroupAllSimilarChildren()
Run the GroupAllSimilarChildren action.
Connections.GroupSimilarObjects()
Run the GroupSimilarObjects action.
Connections.PropertyByAPIName(name: str)
Get a property by its API name.
If multiple properties have the same API Name, only the first property with that name will be returned.
Connections.PropertyByName(name: str)
Get a property by its unique name.
Connections.RemoveParameter(propName: str)
Removes the parameter from the parameter set corresponding to the given property.
Connections.RepairOverlappingContactRegions()
Check for Overlapping Contact Regions. However, please note that this action does not result in any actual repair being performed.
Connections.SearchConnectionsForDuplicatePairs()
Run the SearchConnectionsForDuplicatePairs action.