SpotWeldGroup#

class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.Connections.SpotWeldGroup#

Bases: object

Defines a SpotWeldGroup.

Overview#

AddSpotWeldConnection

Creates a new child SpotWeldConnection.

ExportToFile

Exports all spot welds to user selected path.

GenerateSpotWeldConnections

Generate spot welds provided in the Weld input file.

GetChildren

Gets the list of children, filtered by type.

GetChildren

Gets the list of children, filtered by type.

AddComment

Creates a new child Comment.

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.

Material

Gets or sets the Material.

NumConnections

Gets the NumConnections.

NumberOfLayers

Gets or sets the NumberOfLayers.

NumWeldPoints

Gets the NumWeldPoints.

SpotWeldFileName

Gets or sets the SpotWeldFileName.

AngleTolerance

Gets or sets the AngleTolerance.

PenetrationTolerance

Gets or sets the PenetrationTolerance.

SnapToEdgeTolerance

Gets or sets the SnapToEdgeTolerance.

WeldRadius

Gets or sets the WeldRadius.

WeldSearchDistance

Gets or sets the WeldSearchDistance.

ChildrenCreationMethod

Gets or sets the ChildrenCreationMethod.

ConnectionBehavior

Gets or sets the ConnectionBehavior.

Units

Gets or sets the Units.

WeldType

Gets or sets the WeldType.

StiffnessBehavior

Gets or sets the StiffnessBehavior.

ShellThicknessEffect

Gets or sets the ShellThicknessEffect.

DataModelObjectCategory

Gets the current DataModelObject’s category.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

Images

Gets the list of associated images.

ReadOnly

Gets or sets the ReadOnly.

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 SpotWeldGroup.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSSpotWeldGroupAuto | None

Gets the internal object. For advanced usage only.

property SpotWeldGroup.Material: System.String | None

Gets or sets the Material.

property SpotWeldGroup.NumConnections: System.Int32 | None

Gets the NumConnections.

property SpotWeldGroup.NumberOfLayers: System.Int32 | None

Gets or sets the NumberOfLayers.

property SpotWeldGroup.NumWeldPoints: System.Int32 | None

Gets the NumWeldPoints.

property SpotWeldGroup.SpotWeldFileName: System.String | None

Gets or sets the SpotWeldFileName.

property SpotWeldGroup.AngleTolerance: Ansys.Core.Units.Quantity | None

Gets or sets the AngleTolerance.

property SpotWeldGroup.PenetrationTolerance: Ansys.Core.Units.Quantity | None

Gets or sets the PenetrationTolerance.

property SpotWeldGroup.SnapToEdgeTolerance: Ansys.Core.Units.Quantity | None

Gets or sets the SnapToEdgeTolerance.

property SpotWeldGroup.WeldRadius: Ansys.Core.Units.Quantity | None

Gets or sets the WeldRadius.

property SpotWeldGroup.WeldSearchDistance: Ansys.Core.Units.Quantity | None

Gets or sets the WeldSearchDistance.

property SpotWeldGroup.ChildrenCreationMethod: Ansys.Mechanical.DataModel.Enums.ConnectionCreationMethod | None

Gets or sets the ChildrenCreationMethod.

property SpotWeldGroup.ConnectionBehavior: Ansys.Mechanical.DataModel.Enums.StiffnessBehavior | None

Gets or sets the ConnectionBehavior.

property SpotWeldGroup.Units: Ansys.Mechanical.DataModel.Enums.WBUnitSystemType | None

Gets or sets the Units.

property SpotWeldGroup.WeldType: Ansys.Mechanical.DataModel.Enums.SpotWeldTypes | None

Gets or sets the WeldType.

property SpotWeldGroup.StiffnessBehavior: Ansys.Mechanical.DataModel.Enums.StiffnessBehavior | None

Gets or sets the StiffnessBehavior.

property SpotWeldGroup.ShellThicknessEffect: System.Boolean | None

Gets or sets the ShellThicknessEffect.

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

Gets the current DataModelObject’s category.

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the list of associated images.

property SpotWeldGroup.ReadOnly: System.Boolean | None

Gets or sets the ReadOnly.

property SpotWeldGroup.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

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

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

Method detail#

SpotWeldGroup.AddSpotWeldConnection() Ansys.ACT.Automation.Mechanical.Connections.SpotWeldConnection

Creates a new child SpotWeldConnection.

SpotWeldGroup.ExportToFile(filePath: System.String) System.Void

Exports all spot welds to user selected path.

SpotWeldGroup.GenerateSpotWeldConnections() System.Void

Generate spot welds provided in the Weld input file.

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

Gets the list of children, filtered by type.

SpotWeldGroup.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.

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

Creates a new child Comment.

SpotWeldGroup.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.
SpotWeldGroup.Activate() System.Void

Activate the current object.

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

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

SpotWeldGroup.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

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

Creates a new parameter for a Property.

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

Gets the parameter corresponding to the given property.

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

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