SpotWeldConnection#
- class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.Connections.SpotWeldConnection#
 Bases:
objectDefines a SpotWeldConnection.
Overview#
Activate the current object.  | 
|
Creates a new child Comment.  | 
|
Creates a new child Image.  | 
|
Add a new spot weld with/without a customID.  | 
|
Copies all visible properties from this object to another.  | 
|
Creates a new parameter for a Property.  | 
|
Add a new spot weld by using a Hit Point.  | 
|
Creates a copy of the current DataModelObject.  | 
|
Export the contents to a CSV file.  | 
|
Gets the list of children, filtered by type.  | 
|
Gets the parameter corresponding to the given property.  | 
|
Run the GroupAllSimilarChildren action.  | 
|
Run the GroupSimilarObjects action.  | 
|
Get a property by its API name.  | 
|
Get a property by its unique name.  | 
|
Removes the parameter from the parameter set corresponding to the given property.  | 
|
Remove an existing spot weld.  | 
|
Set the X coordinate given the Spot Weld ID.  | 
|
Set the Y coordinate given the Spot Weld ID.  | 
|
Set the Z coordinate given the Spot Weld ID.  | 
Gets or sets the AngleTolerance.  | 
|
Gets the list of children.  | 
|
Gets the list of associated comments.  | 
|
Gets or sets the ConnectionBehavior.  | 
|
Gets the current DataModelObject's category.  | 
|
Gets the list of associated images.  | 
|
Gets the internal object. For advanced usage only.  | 
|
Gets or sets the Material.  | 
|
Gets the NumWeldPoints.  | 
|
Gets or sets the NumberOfLayers.  | 
|
Gets or sets the PenetrationTolerance.  | 
|
Gets the list of properties for this object.  | 
|
Gets or sets the Radius.  | 
|
Gets or sets the ReadOnly.  | 
|
Gets or sets the SearchDistance.  | 
|
Gets or sets the ShellThicknessEffect.  | 
|
Gets or sets the SnapToEdgeTolerance.  | 
|
Gets or sets the SourceGeometry.  | 
|
Gets or sets the StiffnessBehavior.  | 
|
Gets or sets the TargetGeometry.  | 
|
Gets or sets the Type.  | 
|
Gets the list of properties that are visible for this object.  | 
Property detail#
- property SpotWeldConnection.AngleTolerance: Ansys.Core.Units.Quantity | None#
 Gets or sets the AngleTolerance.
- property SpotWeldConnection.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#
 Gets the list of children.
- property SpotWeldConnection.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#
 Gets the list of associated comments.
- property SpotWeldConnection.ConnectionBehavior: Ansys.Mechanical.DataModel.Enums.StiffnessBehavior | None#
 Gets or sets the ConnectionBehavior.
- property SpotWeldConnection.DataModelObjectCategory: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None#
 Gets the current DataModelObject's category.
- property SpotWeldConnection.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#
 Gets the list of associated images.
- property SpotWeldConnection.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSSpotWeldConnectionAuto | None#
 Gets the internal object. For advanced usage only.
- property SpotWeldConnection.PenetrationTolerance: Ansys.Core.Units.Quantity | None#
 Gets or sets the PenetrationTolerance.
- property SpotWeldConnection.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#
 Gets the list of properties for this object.
- property SpotWeldConnection.Radius: Ansys.Core.Units.Quantity | None#
 Gets or sets the Radius.
- property SpotWeldConnection.SearchDistance: Ansys.Core.Units.Quantity | None#
 Gets or sets the SearchDistance.
- property SpotWeldConnection.ShellThicknessEffect: bool | None#
 Gets or sets the ShellThicknessEffect.
- property SpotWeldConnection.SnapToEdgeTolerance: Ansys.Core.Units.Quantity | None#
 Gets or sets the SnapToEdgeTolerance.
- property SpotWeldConnection.SourceGeometry: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#
 Gets or sets the SourceGeometry.
- property SpotWeldConnection.StiffnessBehavior: Ansys.Mechanical.DataModel.Enums.StiffnessBehavior | None#
 Gets or sets the StiffnessBehavior.
- property SpotWeldConnection.TargetGeometry: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#
 Gets or sets the TargetGeometry.
- property SpotWeldConnection.Type: Ansys.Mechanical.DataModel.Enums.SpotWeldTypes | None#
 Gets or sets the Type.
Method detail#
- SpotWeldConnection.AddComment() Ansys.ACT.Automation.Mechanical.Comment#
 Creates a new child Comment.
- SpotWeldConnection.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.
- SpotWeldConnection.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#
 Copies all visible properties from this object to another.
- SpotWeldConnection.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
 Creates a new parameter for a Property.
- SpotWeldConnection.Duplicate() Ansys.Mechanical.DataModel.Interfaces.IDataModelObject#
 Creates a copy of the current DataModelObject.
- SpotWeldConnection.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#
 Gets the list of children, filtered by type.
- SpotWeldConnection.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#
 Gets the parameter corresponding to the given property.
- SpotWeldConnection.GroupSimilarObjects() Ansys.ACT.Automation.Mechanical.TreeGroupingFolder#
 Run the GroupSimilarObjects action.
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.
- SpotWeldConnection.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#
 Get a property by its unique name.
- SpotWeldConnection.RemoveParameter(propName: str) None#
 Removes the parameter from the parameter set corresponding to the given property.
- SpotWeldConnection.SetXCoordinate(spotWeldId: int, val: Ansys.Core.Units.Quantity) None#
 Set the X coordinate given the Spot Weld ID.
- SpotWeldConnection.SetYCoordinate(spotWeldId: int, val: Ansys.Core.Units.Quantity) None#
 Set the Y coordinate given the Spot Weld ID.
- SpotWeldConnection.SetZCoordinate(spotWeldId: int, val: Ansys.Core.Units.Quantity) None#
 Set the Z coordinate given the Spot Weld ID.