ConnectionGroup
Last update: 14.01.2025
ConnectionGroup
class Ansys.ACT.Automation.Mechanical.Connections.ConnectionGroup
Bases: object
Defines a ConnectionGroup.
Overview
Methods
Name | Description |
---|---|
Activate |
Activate the current object. |
AddComment |
Creates a new child Comment. |
AddContactRegion |
Creates a new child ContactRegion. |
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. |
CopyTo |
Copies all visible properties from this object to another. |
CreateAutomaticConnections |
Run the CreateAutomaticConnections action. |
CreateParameter |
Creates a new parameter for a Property. |
Delete |
Run the Delete action. |
DeleteChildren |
Run the DeleteChildren action with optional verification dialog. |
Duplicate |
Creates a copy of the current DataModelObject. |
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. |
RenameBasedOnChildren |
Rename the Connection group based on the children. |
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. |
SetDefaultAPDLNames |
Loop over all the valid contact regions and set the default APDL names. |
Properties
Name | Description |
---|---|
ActiveConnections |
Gets the ActiveConnections. |
AutomaticFixedJoints |
Gets or sets the AutomaticFixedJoints. |
Children |
Gets the list of children. |
Comments |
Gets the list of associated comments. |
ConnectionType |
Gets or sets the ConnectionType. |
Connections |
Gets the Connections. |
CylindricalFaces |
Gets or sets the CylindricalFaces. |
DataModelObjectCategory |
Gets the current DataModelObject’s category. |
EdgeEdge |
Gets or sets the EdgeEdge. |
EdgeOverlapTolerance |
Gets or sets the EdgeOverlapTolerance. |
FaceAngleTolerance |
Gets or sets the FaceAngleTolerance. |
FaceEdge |
Gets or sets the FaceEdge. |
FaceFace |
Gets or sets the FaceFace. |
FaceFaceDetectionAngleTolerence |
Gets or sets the FaceFaceDetectionAngleTolerence. |
FaceOverlapTolerance |
Gets or sets the FaceOverlapTolerance. |
Figures |
Gets the list of associated figures. |
GroupBy |
Gets or sets the GroupBy. |
Images |
Gets the list of associated images. |
InternalObject |
Gets the internal object. For advanced usage only. |
Location |
Gets or sets the Location. |
MinimumDistancePercentage |
Gets or sets the MinimumDistancePercentage. |
MinimumDistanceValue |
Gets the MinimumDistanceValue. |
Priority |
Gets or sets the Priority. |
Properties |
Gets the list of properties for this object. |
ReadOnly |
Gets or sets the ReadOnly. |
RevoluteJoints |
Gets or sets the RevoluteJoints. |
SearchAcross |
Gets or sets the SearchAcross. |
Suppressed |
Gets or sets the Suppressed. |
ThicknessScaleFactor |
Gets or sets the ThicknessScaleFactor. |
ToleranceSlider |
Gets or sets the ToleranceSlider. |
ToleranceType |
Gets or sets the ToleranceType. |
ToleranceValue |
Gets or sets the ToleranceValue. |
UseRange |
Gets or sets the UseRange. |
VisibleProperties |
Gets the list of properties that are visible for this object. |
Property detail
property ConnectionGroup.ActiveConnections : int | None
Gets the ActiveConnections.
property ConnectionGroup.AutomaticFixedJoints : bool | None
Gets or sets the AutomaticFixedJoints.
property ConnectionGroup.Children : List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None
Gets the list of children.
property ConnectionGroup.Comments : Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None
Gets the list of associated comments.
property ConnectionGroup.ConnectionType : Ansys.Mechanical.DataModel.Enums.AutoDetectionType | None
Gets or sets the ConnectionType.
property ConnectionGroup.Connections : int | None
Gets the Connections.
property ConnectionGroup.CylindricalFaces : Ansys.Mechanical.DataModel.Enums.CylindricalFacesOption | None
Gets or sets the CylindricalFaces.
property ConnectionGroup.DataModelObjectCategory : Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None
Gets the current DataModelObject’s category.
property ConnectionGroup.EdgeEdge : Ansys.Mechanical.DataModel.Enums.ContactEdgeEdgeOption | None
Gets or sets the EdgeEdge.
property ConnectionGroup.EdgeOverlapTolerance : int | None
Gets or sets the EdgeOverlapTolerance.
property ConnectionGroup.FaceAngleTolerance : Ansys.Core.Units.Quantity | None
Gets or sets the FaceAngleTolerance.
property ConnectionGroup.FaceEdge : Ansys.Mechanical.DataModel.Enums.ContactFaceEdgeOption | None
Gets or sets the FaceEdge.
property ConnectionGroup.FaceFace : bool | None
Gets or sets the FaceFace.
property ConnectionGroup.FaceFaceDetectionAngleTolerence : Ansys.Core.Units.Quantity | None
Gets or sets the FaceFaceDetectionAngleTolerence.
property ConnectionGroup.FaceOverlapTolerance : int | None
Gets or sets the FaceOverlapTolerance.
property ConnectionGroup.Figures : Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None
Gets the list of associated figures.
property ConnectionGroup.GroupBy : Ansys.Mechanical.DataModel.Enums.ContactGroupingType | None
Gets or sets the GroupBy.
property ConnectionGroup.Images : Iterable[Ansys.ACT.Automation.Mechanical.Image] | None
Gets the list of associated images.
property ConnectionGroup.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSConnectionGroupAuto | None
Gets the internal object. For advanced usage only.
property ConnectionGroup.Location : Ansys.ACT.Interfaces.Common.ISelectionInfo | None
Gets or sets the Location.
property ConnectionGroup.MinimumDistancePercentage : int | None
Gets or sets the MinimumDistancePercentage.
property ConnectionGroup.MinimumDistanceValue : Ansys.Core.Units.Quantity | None
Gets the MinimumDistanceValue.
property ConnectionGroup.Priority : Ansys.Mechanical.DataModel.Enums.ContactFaceEdgePriority | None
Gets or sets the Priority.
property ConnectionGroup.Properties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties for this object.
property ConnectionGroup.ReadOnly : bool | None
Gets or sets the ReadOnly.
property ConnectionGroup.RevoluteJoints : bool | None
Gets or sets the RevoluteJoints.
property ConnectionGroup.SearchAcross : Ansys.Mechanical.DataModel.Enums.ContactSearchingType | None
Gets or sets the SearchAcross.
property ConnectionGroup.Suppressed : bool | None
Gets or sets the Suppressed.
property ConnectionGroup.ThicknessScaleFactor : float | None
Gets or sets the ThicknessScaleFactor.
property ConnectionGroup.ToleranceSlider : int | None
Gets or sets the ToleranceSlider.
property ConnectionGroup.ToleranceType : Ansys.Mechanical.DataModel.Enums.ContactToleranceType | None
Gets or sets the ToleranceType.
property ConnectionGroup.ToleranceValue : Ansys.Core.Units.Quantity | None
Gets or sets the ToleranceValue.
property ConnectionGroup.UseRange : bool | None
Gets or sets the UseRange.
property ConnectionGroup.VisibleProperties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None
Gets the list of properties that are visible for this object.
Method detail
ConnectionGroup.Activate()
Activate the current object.
ConnectionGroup.AddComment()
Creates a new child Comment.
ConnectionGroup.AddContactRegion()
Creates a new child ContactRegion.
ConnectionGroup.AddFigure()
Creates a new child Figure.
ConnectionGroup.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.
ConnectionGroup.AddInterStage()
Creates a new child InterStage.
ConnectionGroup.AddJoint()
Creates a new child Joint.
ConnectionGroup.AddSpotWeld()
Creates a new child SpotWeld.
ConnectionGroup.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)
Copies all visible properties from this object to another.
ConnectionGroup.CreateAutomaticConnections()
Run the CreateAutomaticConnections action.
ConnectionGroup.CreateParameter(propName: str)
Creates a new parameter for a Property.
ConnectionGroup.Delete()
Run the Delete action.
ConnectionGroup.DeleteChildren(verificationDialog: bool)
Run the DeleteChildren action with optional verification dialog.
ConnectionGroup.Duplicate()
Creates a copy of the current DataModelObject.
ConnectionGroup.GetChildren(recurses: bool, children: List[ChildrenType])
Gets the list of children, filtered by type.
ConnectionGroup.GetParameter(propName: str)
Gets the parameter corresponding to the given property.
ConnectionGroup.GroupAllSimilarChildren()
Run the GroupAllSimilarChildren action.
ConnectionGroup.GroupSimilarObjects()
Run the GroupSimilarObjects action.
ConnectionGroup.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.
ConnectionGroup.PropertyByName(name: str)
Get a property by its unique name.
ConnectionGroup.RemoveParameter(propName: str)
Removes the parameter from the parameter set corresponding to the given property.
ConnectionGroup.RenameBasedOnChildren()
Rename the Connection group based on the children.
ConnectionGroup.RepairOverlappingContactRegions()
Check for Overlapping Contact Regions. However, please note that this action does not result in any actual repair being performed.
ConnectionGroup.SearchConnectionsForDuplicatePairs()
Run the SearchConnectionsForDuplicatePairs action.
ConnectionGroup.SetDefaultAPDLNames()
Loop over all the valid contact regions and set the default APDL names.