Connections#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.Connections.Connections(internalObject: Any)#

Bases: object

Defines a Connections.

Overview#

Activate

Activate the current object.

AddAMBondConnection

Creates a new AMBondConnection

AddBeam

Creates a new Beam

AddBeamInternal

AddBeamInternal method.

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.

AddContactRegionInternal

AddContactRegionInternal method.

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.

AddJointInternal

AddJointInternal method.

AddSpotWeld

Creates a new child SpotWeld.

AddSpotWeldGroup

Creates a new child SpotWeldGroup.

AddSpring

Creates a new Spring

AddSpringInternal

AddSpringInternal method.

CopyTo

Copies all visible properties from this object to another.

CreateAutomaticConnections

Run the CreateAutomaticConnections action.

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

ExportModelTopology

ExportModelTopology method.

GenerateInitialContactResults

Generate Initial Contact Results and Mesh Parts

GetAPIName

Property name bound to dispId.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetJSON

GetJSON method.

GetLifetimeService

GetLifetimeService method.

GetObjectData

GetObjectData method.

GetParameter

Gets the parameter corresponding to the given property.

GetPath

GetPath method.

GetPropertyName

GetPropertyName method.

GetPropertyValue

GetPropertyValue method.

GetTableGenerator

GetTableGenerator method.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

InitializeLifetimeService

InitializeLifetimeService method.

IsPropertyEditable

IsPropertyEditable method.

IsPropertyVisible

IsPropertyVisible method.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

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.

ToString

ToString method.

AttachedRefs

AttachedRefs property.

Children

Gets the list of children.

ClsId

ClsId property.

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.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

SolverFilesDirectory

Gets or sets the SolverFilesDirectory.

State

State property.

TransparencyEnabled

Gets or sets the TransparencyEnabled.

VisibleProperties

Gets the list of properties that are visible for this object.

Property detail#

property Connections.AttachedRefs: List[int] | None#

AttachedRefs property.

property Connections.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#

Gets the list of children.

property Connections.ClsId: int | None#

ClsId property.

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.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property Connections.IconName: str | None#

IconName property.

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.Name: str | None#

Name property.

property Connections.ObjectId: int | None#

ObjectId property.

property Connections.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#

ObjectState property.

property Connections.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#

ObjectTags property.

property Connections.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

Parent property.

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.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

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() None#

Activate the current object.

Connections.AddAMBondConnection() Ansys.ACT.Automation.Mechanical.Connections.AMBondConnection#

Creates a new AMBondConnection

Connections.AddBeam() Ansys.ACT.Automation.Mechanical.Connections.Beam#

Creates a new Beam

Connections.AddBeamInternal() Ansys.ACT.Automation.Mechanical.Connections.Beam#

AddBeamInternal method.

Connections.AddBearing() Ansys.ACT.Automation.Mechanical.Connections.Bearing#

Creates a new Bearing

Connections.AddBodyInteraction() Ansys.ACT.Automation.Mechanical.Connections.BodyInteraction#

Creates a new child BodyInteraction.

Connections.AddComment() Ansys.ACT.Automation.Mechanical.Comment#

Creates a new child Comment.

Connections.AddConnectionGroup() Ansys.ACT.Automation.Mechanical.Connections.ConnectionGroup#

Creates a new ConnectionGroup

Connections.AddContactRegion() Ansys.ACT.Automation.Mechanical.Connections.ContactRegion#

Creates a new child ContactRegion.

Connections.AddContactRegionInternal() Ansys.ACT.Automation.Mechanical.Connections.ContactRegion#

AddContactRegionInternal method.

Connections.AddContactSolutionInformation() Ansys.ACT.Automation.Mechanical.ContactSolutionInformation#

Creates a new ContactSolutionInformation

Connections.AddContactTool() Ansys.ACT.Automation.Mechanical.PreContactTool#

Creates a new ContactTool

Connections.AddEndRelease() Ansys.ACT.Automation.Mechanical.EndRelease#

Creates a new EndRelease

Connections.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#

Creates a new child Figure.

Connections.AddImage(filePath: str) Ansys.ACT.Automation.Mechanical.Image#
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() Ansys.ACT.Automation.Mechanical.Connections.ContactRegion#

Creates a new child InterStage.

Connections.AddJoint() Ansys.ACT.Automation.Mechanical.Connections.Joint#

Creates a new child Joint.

Connections.AddJointInternal() Ansys.ACT.Automation.Mechanical.Connections.Joint#

AddJointInternal method.

Connections.AddSpotWeld() Ansys.ACT.Automation.Mechanical.Connections.ContactRegion#

Creates a new child SpotWeld.

Connections.AddSpotWeldGroup() Ansys.ACT.Automation.Mechanical.Connections.SpotWeldGroup#

Creates a new child SpotWeldGroup.

Connections.AddSpring() Ansys.ACT.Automation.Mechanical.Connections.Spring#

Creates a new Spring

Connections.AddSpringInternal() Ansys.ACT.Automation.Mechanical.Connections.Spring#

AddSpringInternal method.

Connections.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

Connections.CreateAutomaticConnections() None#

Run the CreateAutomaticConnections action.

Connections.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

Connections.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

Connections.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#

Creates a copy of the current DataModelObject.

Connections.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

Connections.ExportModelTopology(filename: str) None#

ExportModelTopology method.

Connections.GenerateInitialContactResults() None#

Generate Initial Contact Results and Mesh Parts

Connections.GetAPIName(dispId: int) str#

Property name bound to dispId.

Connections.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#

GetAllProperties method.

Connections.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#

Gets the list of children, filtered by type.

Connections.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#

GetDetailsView method.

Connections.GetEnumName(enumType: type, value: int, dispId: int) str#

Enum name bound to value

Connections.GetHashCode() int#

GetHashCode method.

Connections.GetIconFile() System.Byte#

GetIconFile method.

Connections.GetJSON() str#

GetJSON method.

Connections.GetLifetimeService() Any#

GetLifetimeService method.

Connections.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

Connections.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Gets the parameter corresponding to the given property.

Connections.GetPath() str#

GetPath method.

Connections.GetPropertyName(dispId: int) str#

GetPropertyName method.

Connections.GetPropertyValue(name: str) Any#

GetPropertyValue method.

Connections.GetTableGenerator() Ansys.ACT.Automation.Mechanical.Connections.ConnectionsTableGenerator#

GetTableGenerator method.

Connections.GetType() type#

GetType method.

Connections.GetVisibleProperties() List[System.Reflection.PropertyInfo]#

GetVisibleProperties method.

Connections.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

Connections.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

Connections.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#

Run the GroupSimilarObjects action.

Connections.InitializeLifetimeService() Any#

InitializeLifetimeService method.

Connections.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

Connections.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

Connections.PropertyByAPIName(name: str) Ansys.ACT.Automation.Mechanical.Property#
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.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

Connections.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

Connections.RemoveParameter(propName: str) None#

Removes the parameter from the parameter set corresponding to the given property.

Connections.RepairOverlappingContactRegions() None#

Check for Overlapping Contact Regions. However, please note that this action does not result in any actual repair being performed.

Connections.SearchConnectionsForDuplicatePairs() None#

Run the SearchConnectionsForDuplicatePairs action.

Connections.ToString() str#

ToString method.