Connections#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.Connections.Connections#

Bases: object

Defines a Connections.

Overview#

AddContactRegion

Creates a new child ContactRegion.

AddContactTool

Creates a new ContactTool

AddSpotWeldGroup

Creates a new child SpotWeldGroup.

AddSpotWeld

Creates a new child SpotWeld.

AddInterStage

Creates a new child InterStage.

AddJoint

Creates a new child Joint.

AddBodyInteraction

Creates a new child BodyInteraction.

SearchConnectionsForDuplicatePairs

Run the SearchConnectionsForDuplicatePairs action.

CreateAutomaticConnections

Run the CreateAutomaticConnections action.

ExportModelTopology

ExportModelTopology method.

AddAMBondConnection

Creates a new AMBondConnection

AddBeam

Creates a new Beam

AddBearing

Creates a new Bearing

AddConnectionGroup

Creates a new ConnectionGroup

AddContactSolutionInformation

Creates a new ContactSolutionInformation

AddEndRelease

Creates a new EndRelease

AddSpring

Creates a new Spring

GenerateInitialContactResults

Generate Initial Contact Results and Mesh Parts

RepairOverlappingContactRegions

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

GetChildren

Gets the list of children, filtered by type.

GetChildren

Gets the list of children, filtered by type.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

Activate

Activate the current object.

CopyTo

Copies all visible properties from this object to another.

Duplicate

Creates a copy of the current DataModelObject.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

PropertyByName

Get a property by its unique name.

PropertyByAPIName

Get a property by its API name.

CreateParameter

Creates a new parameter for a Property.

GetParameter

Gets the parameter corresponding to the given property.

RemoveParameter

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

InternalObject

Gets the internal object. For advanced usage only.

SolverFilesDirectory

Gets or sets the SolverFilesDirectory.

GenerateAutomaticConnectionOnRefresh

Gets or sets the GenerateAutomaticConnectionOnRefresh.

FixedJoints

Gets or sets the FixedJoints.

TransparencyEnabled

Gets or sets the TransparencyEnabled.

DataModelObjectCategory

Gets the current DataModelObject’s category.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

Figures

Gets the list of associated figures.

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.

VisibleProperties

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

Property detail#

property Connections.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSContactGroupAuto | None

Gets the internal object. For advanced usage only.

property Connections.SolverFilesDirectory: System.String | None

Gets or sets the SolverFilesDirectory.

property Connections.GenerateAutomaticConnectionOnRefresh: Ansys.Mechanical.DataModel.Enums.AutomaticOrManual | None

Gets or sets the GenerateAutomaticConnectionOnRefresh.

property Connections.FixedJoints: System.Boolean | None

Gets or sets the FixedJoints.

property Connections.TransparencyEnabled: System.Boolean | None

Gets or sets the TransparencyEnabled.

property Connections.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None

Gets the current DataModelObject’s category.

property Connections.Children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property Connections.Comments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property Connections.Figures: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property Connections.Images: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property Connections.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

property Connections.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property Connections.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

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

Method detail#

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

Creates a new child ContactRegion.

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

Creates a new ContactTool

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

Creates a new child SpotWeldGroup.

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

Creates a new child SpotWeld.

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.AddBodyInteraction() Ansys.ACT.Automation.Mechanical.Connections.BodyInteraction

Creates a new child BodyInteraction.

Connections.SearchConnectionsForDuplicatePairs() System.Void

Run the SearchConnectionsForDuplicatePairs action.

Connections.CreateAutomaticConnections() System.Void

Run the CreateAutomaticConnections action.

Connections.ExportModelTopology(filename: System.String) System.Void

ExportModelTopology method.

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.AddBearing() Ansys.ACT.Automation.Mechanical.Connections.Bearing

Creates a new Bearing

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

Creates a new ConnectionGroup

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

Creates a new ContactSolutionInformation

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

Creates a new EndRelease

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

Creates a new Spring

Connections.GenerateInitialContactResults() System.Void

Generate Initial Contact Results and Mesh Parts

Connections.RepairOverlappingContactRegions() System.Void

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

Connections.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]

Gets the list of children, filtered by type.

Connections.GetChildren(category: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory, recurses: System.Boolean, children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]

Gets the list of children, filtered by type.

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

Creates a new child Comment.

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

Creates a new child Figure.

Connections.AddImage(filePath: System.String) 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.Activate() System.Void

Activate the current object.

Connections.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

Connections.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

Connections.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

Connections.PropertyByAPIName(name: System.String) 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.CreateParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

Connections.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

Connections.RemoveParameter(propName: System.String) System.Void

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