Skip to main content

Mechanical scripting interface 2025

`Weld`

Last update: 09.03.2026

class Ansys.ACT.Automation.Mechanical.MeshControls.Weld

Bases: object

Defines a Weld.

Overview

Methods

Name Description
Activate Activate the current object.
ActivateAllWorksheetEntries set the ActivateAllWorksheetEntries
AddComment Creates a new child Comment.
AddFigure Creates a new child Figure.
AddImage Creates a new child Image.
AddWeldWorksheetScopeToSelection Create worksheet entry scope to selection
AppendWeldControlIntersectionTag append the WeldControlIntersectionTag
AppendWeldWorksheetIntersectionTag AppendWeldWorksheetIntersectionTag method.
ClearAutoWeldIntersectionTag Clear Auto Intersection Tags
ClearWeldControlIntersectionTag clear the WeldControlIntersectionTag
ClearWeldWorksheetIntersectionTag ClearWeldWorksheetIntersectionTag method.
CopyTo Copies all visible properties from this object to another.
CreateParameter Creates a new parameter for a Property.
DeactivateAllWorksheetEntries set the DeactivateAllWorksheetEntries
DeactivateProblematicWorksheetEntries Deactivate Problematic Worksheet Entries
Delete Run the Delete action.
Duplicate Creates a copy of the current DataModelObject.
GenerateMesh Generate the Mesh.
GenerateWeldIntersectionTag Auto detect Intersection Tags within specified tolerance
GetChildren Gets the list of children, filtered by type.
GetCrossSectionIds get CrossSection Ids
GetMaterialIds get Material Ids
GetParameter Gets the parameter corresponding to the given property.
GetWeldWorksheetAbsTol get the WeldControlWorksheetAbsTol
GetWeldWorksheetActive get the WeldWorksheetActive
GetWeldWorksheetBottomEntities get the WeldControlWorksheetBottomEntities
GetWeldWorksheetEdgeMeshSize get the WeldControlWorksheetEdgeMeshSize
GetWeldWorksheetEdgeMeshSizeExpression get the WeldControlWorksheetEdgeMeshSizeExpression
GetWeldWorksheetEdges get the WeldControlWorksheetEdges
GetWeldWorksheetGenerateEndCaps get the WeldControlWorksheetGenerateEndCaps
GetWeldWorksheetHAZDistanceBottomPlate get the WeldControlWorksheetHAZDistance
GetWeldWorksheetHAZDistanceExpressionBottomPlate get WorksheetHAZDistanceExpressionBottomPlate
GetWeldWorksheetHAZDistanceExpressionTopPlate get WorksheetHAZDistanceExpressionTopPlate
GetWeldWorksheetHAZGrowthRate get the WeldControlWorksheetHAZGrowthRate
GetWeldWorksheetHeight get the WeldControlWorksheetHeight
GetWeldWorksheetIntersectionTag get the WeldControlWorksheetIntersectionTag
GetWeldWorksheetLapAngleTol get the WeldControlWorksheetLapAngleTol
GetWeldWorksheetLength get the WeldControlWorksheetLength
GetWeldWorksheetMaxThicknessFactor get the WeldControlWorksheetMaxThicknessFactor
GetWeldWorksheetMinThicknessFactor get the WeldControlWorksheetMinThicknessFactor
GetWeldWorksheetNumError Get Number of Errored rows
GetWeldWorksheetNumLayers get the WeldControlWorksheetNumLayers
GetWeldWorksheetNumWarning Get Number of rows with warnings
GetWeldWorksheetNumWelds get the WeldControlWorksheetNumWelds
GetWeldWorksheetOffset1 get the WeldControlWorksheetOffset1
GetWeldWorksheetOffset2 get the WeldControlWorksheetOffset2
GetWeldWorksheetPitch get the WeldControlWorksheetPitch
GetWeldWorksheetSharpAngle get the WeldControlWorksheetSharpAngle
GetWeldWorksheetSmoothing get the WeldControlWorksheetSmoothing option
GetWeldWorksheetThickness get the WeldControlWorksheetThickness
GetWeldWorksheetThicknessExpression get the WeldControlWorksheetThicknessExpression
GetWeldWorksheetTopEntities get the WeldControlWorksheetTopEntities
GetWeldWorksheetWeldAngle get the WeldControlWorksheetWeldAngle
GetWeldWorksheetWeldCurve get the WeldControlWorksheetWeldCurve
GetWeldWorksheetWeldHeightExpression get the WeldControlWorksheetWeldHeight
GetWeldWorksheetWeldWidthExpression get the WeldControlWorksheetWeldWidth
GetWeldWorksheetWidth get the WeldControlWorksheetWidth
GroupAllSimilarChildren Run the GroupAllSimilarChildren action.
GroupSimilarObjects Run the GroupSimilarObjects action.
PreviewMeshOnWeldWorksheet PreviewMeshOnWeldWorksheet method.
PromoteToWeldControl PromoteToWeldControl method.
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.
RenameBasedOnDefinition Run the RenameBasedOnDefinition action.
SetWeldWorksheetAbsTol SetWeldWorksheetAbsTol method.
SetWeldWorksheetActive SetWeldWorksheetActive method.
SetWeldWorksheetBottomEntities SetWeldWorksheetBottomEntities method.
SetWeldWorksheetEdgeMeshSize SetWeldWorksheetEdgeMeshSize method.
SetWeldWorksheetEdgeMeshSizeExpression SetWeldWorksheetEdgeMeshSizeExpression method.
SetWeldWorksheetEdges SetWeldWorksheetEdges method.
SetWeldWorksheetGenerateEndCaps SetWeldWorksheetGenerateEndCaps method.
SetWeldWorksheetHAZDistanceBottomPlate SetWeldWorksheetHAZDistanceBottomPlate method.
SetWeldWorksheetHAZDistanceExpressionBottomPlate SetWeldWorksheetHAZDistanceExpressionBottomPlate method.
SetWeldWorksheetHAZDistanceExpressionTopPlate SetWeldWorksheetHAZDistanceExpressionTopPlate method.
SetWeldWorksheetHAZDistanceTopPlate SetWeldWorksheetHAZDistanceTopPlate method.
SetWeldWorksheetHAZGrowthRate SetWeldWorksheetHAZGrowthRate method.
SetWeldWorksheetHeight SetWeldWorksheetHeight method.
SetWeldWorksheetIntersectionTag SetWeldWorksheetIntersectionTag method.
SetWeldWorksheetLapAngleTol SetWeldWorksheetLapAngleTol method.
SetWeldWorksheetLength SetWeldWorksheetLength method.
SetWeldWorksheetMaxThicknessFactor SetWeldWorksheetMaxThicknessFactor method.
SetWeldWorksheetMinThicknessFactor SetWeldWorksheetMinThicknessFactor method.
SetWeldWorksheetNumLayers SetWeldWorksheetNumLayers method.
SetWeldWorksheetNumWelds SetWeldWorksheetNumWelds method.
SetWeldWorksheetOffset1 SetWeldWorksheetOffset1 method.
SetWeldWorksheetOffset2 SetWeldWorksheetOffset2 method.
SetWeldWorksheetPitch SetWeldWorksheetPitch method.
SetWeldWorksheetSharpAngle SetWeldWorksheetSharpAngle method.
SetWeldWorksheetSmoothing SetWeldWorksheetSmoothing method.
SetWeldWorksheetThickness SetWeldWorksheetThickness method.
SetWeldWorksheetThicknessExpression SetWeldWorksheetThicknessExpression method.
SetWeldWorksheetTopEntities SetWeldWorksheetTopEntities method.
SetWeldWorksheetWeldAngle SetWeldWorksheetWeldAngle method.
SetWeldWorksheetWeldBody SetWeldWorksheetWeldBody method.
SetWeldWorksheetWeldCurve SetWeldWorksheetWeldCurve method.
SetWeldWorksheetWeldHeightExpression SetWeldWorksheetWeldHeightExpression method.
SetWeldWorksheetWeldWidthExpression SetWeldWorksheetWeldWidthExpression method.
SetWeldWorksheetWidth SetWeldWorksheetWidth method.
WeldWorksheetAddEntry add an entry to WeldWorksheet
WeldWorksheetCreateControlForCurveBodies Create worksheet entries for all curve bodies
WeldWorksheetDeleteEntry WeldWorksheetDeleteEntry method.
WeldWorksheetExport export WeldWorksheet
WeldWorksheetImport import WeldWorksheet
WeldWorksheetNumEntries Get total number of entries in worksheet
WeldWorksheetStatus Get state of a given row

Properties

Name Description
AdjustWeldHeight Gets or sets the WeldControlAdjustWeldHeight.
AngledDirection Gets or sets the WeldControlAngledDirection.
BottomEntities Gets or sets the Bottom Entities (Bodies / Faces ) or Extension.
BottomEntitiesNamedSelection Gets or sets the BottomEntitiesNamedSelection.
ButtWeldOption Gets or sets the ButtWeldOption.
Children Gets the list of children.
Comments Gets the list of associated comments.
ConnectionTolerance Gets or sets the WeldControlConnectionTolerance
ControlType Gets or sets the WeldControlType.
CreateHAZLayer Gets or sets the WeldControlCreateHAZLayer.
CreateUsing Gets or sets the WeldControlCreateUsing.
CreationCriteria Gets or sets the WeldControlCreationCriteria.
CrossSectionId Gets or sets the WeldControlCrossSectionId.
CurveScoping Gets or sets the WeldControlCurveScoping.
DataModelObjectCategory Gets the current DataModelObject’s category.
EdgeMeshSize Gets or sets the WeldControlEdgeMeshSize
EdgeMeshSizeAssignment Gets or sets the WeldControlEdgeMeshSizeAssignment.
EdgeMeshSizeExpression Gets or sets the WeldControlEdgeMeshSizeExpression Value.
EdgeMeshSizeFactor Gets or sets the user defined factor of edge mesh size used to detect weld. Default: 5. An exception will be thrown if WeldDetectionMethod is Automatic
EdgeSelection Gets or sets the Edges.
Figures Gets the list of associated figures.
GenerateEndCaps Gets or sets the WeldControlSmoothing.
GenerateNamedSelection Gets or sets the WeldControlGenerateNamedSelection.
HAZDistanceAssignment Gets or sets the WeldControlHAZDistanceAssignment.
HAZDistanceBottomPlate Gets or sets HAZDistanceBottomPlate
HAZDistanceExpressionBottomPlate Gets or sets HAZDistanceExpressionBottomPlate Value.
HAZDistanceExpressionTopPlate Gets or sets the WeldControlHAZDistanceExpression Value.
HAZDistanceOption Gets or sets the WeldControlHAZDistanceOption.
HAZDistanceTopPlate Gets or sets HAZDistanceTopPlate
HAZGrowthRate Gets or sets the WeldControlHAZGrowthRate
Images Gets the list of associated images.
InternalObject Gets the internal object. For advanced usage only.
LapWeldAngleTolerance Gets or sets the LapWeldAngleTolerance.
LayerTransitionType Gets or sets the WeldControlHAZLayerTransitionType.
MaterialId Gets or sets the WeldControlMaterialId.
MaxThicknessFactor Gets or sets the WeldControlMaxThicknessFactor
MinThicknessFactor Gets or sets the WeldControlMinThicknessFactor
ModeledAs Gets or sets the WeldControlModeledAs.
NameFilter Gets or sets the NameFilter.
NumberOfLayers Gets or sets WeldControlNumberOfLayers
NumberOfWelds Gets or sets WeldControlNumberOfLayers
Offset1 Gets or sets the WeldControlOffsetLayerHeight
Offset2 Gets or sets the WeldControlOffsetLayerHeight
Properties Gets the list of properties for this object.
Relaxation Gets or sets the WeldControlRelaxation.
ScopingMethod Gets or sets the ScopingMethod.
SharpAngle Gets or sets the WeldSharpAngle.
Smoothing Gets or sets the WeldControlSmoothing.
Source Gets or sets the WeldControlSource.
Suppressed Gets or sets the Suppressed.
Thickness Gets or sets the WeldControlThickness
ThicknessAssignment Gets or sets the WeldControlThicknessAssignment.
TopEntities Gets or sets the Top Entities (Bodies / Faces ) or Extension.
TopEntitiesNamedSelection Gets or sets the TopEntitiesNamedSelection.
UseWorksheet Gets or sets the WeldControlUseWorksheet.
VisibleProperties Gets the list of properties that are visible for this object.
WeldAngle Gets or sets the WeldAngle.
WeldControlWeldWidth Gets or sets the WeldControlWeldWidth
WeldCurves Gets or sets the Weld Curves.
WeldCurvesBody WeldCurvesBody property.
WeldDefinitionFileLocation Gets or sets the WeldDefinitionFile Location.
WeldDetectionMethod Gets or sets the method to detect welds. Default: Automatic
WeldEdgesNamedSelection Gets or sets the WeldEdgesNamedSelection.
WeldElementRows Gets or sets the WeldControlElementRows.
WeldFormulation Gets or sets the WeldFormulation.
WeldHeight Gets or sets the WeldControlOffsetLayerHeight
WeldHeightAssignment Gets or sets the WeldControlWeldHeightAssignment.
WeldHeightExpression Gets or sets the WeldControlWeldHeightExpression Value.
WeldIntersectionTag Gets or sets the WeldControlIntersectionTag Value.
WeldIntersectionTolerance Gets or sets the WeldControlIntersectionTolerance Value.
WeldLength Gets or sets the WeldControlOffsetLayerHeight
WeldPinballRadius Gets or sets the WeldPinballRadius
WeldPitch Gets or sets the WeldControlOffsetLayerHeight
WeldTargetShellFace Gets or sets the WeldTargetShellFace.
WeldThicknessExpression Gets or sets the WeldControlThicknessExpression Value.
WeldWidthAssignment Gets or sets the WeldControlWeldWidthAssignment.
WeldWidthExpression Gets or sets the WeldControlWeldWidthExpression Value.
WriteDefinitionFile Gets or sets the WeldControlSmoothing.

Property detail

property Weld.AdjustWeldHeight : Ansys.Mechanical.DataModel.Enums.YesNoType | None

Gets or sets the WeldControlAdjustWeldHeight.

property Weld.AngledDirection : Ansys.Mechanical.DataModel.Enums.WeldAngledDirection | None

Gets or sets the WeldControlAngledDirection.

property Weld.BottomEntities : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the Bottom Entities (Bodies / Faces ) or Extension.

property Weld.BottomEntitiesNamedSelection : Ansys.ACT.Automation.Mechanical.NamedSelection | None

Gets or sets the BottomEntitiesNamedSelection.

property Weld.ButtWeldOption : Ansys.Mechanical.DataModel.Enums.YesNoType | None

Gets or sets the ButtWeldOption.

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

Gets the list of children.

property Weld.Comments : Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property Weld.ConnectionTolerance : Ansys.Core.Units.Quantity | None

Gets or sets the WeldControlConnectionTolerance

property Weld.ControlType : Ansys.Mechanical.DataModel.Enums.WeldType | None

Gets or sets the WeldControlType.

property Weld.CreateHAZLayer : Ansys.Mechanical.DataModel.Enums.YesNoType | None

Gets or sets the WeldControlCreateHAZLayer.

property Weld.CreateUsing : Ansys.Mechanical.DataModel.Enums.WeldCreateUsing | None

Gets or sets the WeldControlCreateUsing.

property Weld.CreationCriteria : Ansys.Mechanical.DataModel.Enums.WeldCreationCriteria | None

Gets or sets the WeldControlCreationCriteria.

property Weld.CrossSectionId : int | None

Gets or sets the WeldControlCrossSectionId.

property Weld.CurveScoping : Ansys.Mechanical.DataModel.Enums.WeldCurveScoping | None

Gets or sets the WeldControlCurveScoping.

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

Gets the current DataModelObject’s category.

property Weld.EdgeMeshSize : Ansys.Core.Units.Quantity | None

Gets or sets the WeldControlEdgeMeshSize

property Weld.EdgeMeshSizeAssignment : Ansys.Mechanical.DataModel.Enums.WeldEdgeMeshSizeAssignment | None

Gets or sets the WeldControlEdgeMeshSizeAssignment.

property Weld.EdgeMeshSizeExpression : str | None

Gets or sets the WeldControlEdgeMeshSizeExpression Value.

property Weld.EdgeMeshSizeFactor : float | None

Gets or sets the user defined factor of edge mesh size used to detect weld. Default: 5. An exception will be thrown if WeldDetectionMethod is Automatic

property Weld.EdgeSelection : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the Edges.

property Weld.Figures : Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property Weld.GenerateEndCaps : Ansys.Mechanical.DataModel.Enums.YesNoType | None

Gets or sets the WeldControlSmoothing.

property Weld.GenerateNamedSelection : Ansys.Mechanical.DataModel.Enums.WeldGeneratedNamedSelection | None

Gets or sets the WeldControlGenerateNamedSelection.

property Weld.HAZDistanceAssignment : Ansys.Mechanical.DataModel.Enums.WeldHAZDistanceAssignment | None

Gets or sets the WeldControlHAZDistanceAssignment.

property Weld.HAZDistanceBottomPlate : Ansys.Core.Units.Quantity | None

Gets or sets HAZDistanceBottomPlate

property Weld.HAZDistanceExpressionBottomPlate : str | None

Gets or sets HAZDistanceExpressionBottomPlate Value.

property Weld.HAZDistanceExpressionTopPlate : str | None

Gets or sets the WeldControlHAZDistanceExpression Value.

property Weld.HAZDistanceOption : Ansys.Mechanical.DataModel.Enums.WeldHAZDistanceOption | None

Gets or sets the WeldControlHAZDistanceOption.

property Weld.HAZDistanceTopPlate : Ansys.Core.Units.Quantity | None

Gets or sets HAZDistanceTopPlate

property Weld.HAZGrowthRate : float | None

Gets or sets the WeldControlHAZGrowthRate

property Weld.Images : Iterable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property Weld.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSMeshControlAuto | None

Gets the internal object. For advanced usage only.

property Weld.LapWeldAngleTolerance : Ansys.Core.Units.Quantity | None

Gets or sets the LapWeldAngleTolerance.

property Weld.LayerTransitionType : Ansys.Mechanical.DataModel.Enums.LayerTransitionType | None

Gets or sets the WeldControlHAZLayerTransitionType.

property Weld.MaterialId : int | None

Gets or sets the WeldControlMaterialId.

property Weld.MaxThicknessFactor : Ansys.Core.Units.Quantity | None

Gets or sets the WeldControlMaxThicknessFactor

property Weld.MinThicknessFactor : Ansys.Core.Units.Quantity | None

Gets or sets the WeldControlMinThicknessFactor

property Weld.ModeledAs : Ansys.Mechanical.DataModel.Enums.WeldModeledAs | None

Gets or sets the WeldControlModeledAs.

property Weld.NameFilter : str | None

Gets or sets the NameFilter.

property Weld.NumberOfLayers : int | None

Gets or sets WeldControlNumberOfLayers

property Weld.NumberOfWelds : int | None

Gets or sets WeldControlNumberOfLayers

property Weld.Offset1 : Ansys.Core.Units.Quantity | None

Gets or sets the WeldControlOffsetLayerHeight

property Weld.Offset2 : Ansys.Core.Units.Quantity | None

Gets or sets the WeldControlOffsetLayerHeight

property Weld.Properties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property Weld.Relaxation : Ansys.Mechanical.DataModel.Enums.WeldRelaxation | None

Gets or sets the WeldControlRelaxation.

property Weld.ScopingMethod : Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None

Gets or sets the ScopingMethod.

property Weld.SharpAngle : Ansys.Core.Units.Quantity | None

Gets or sets the WeldSharpAngle.

property Weld.Smoothing : Ansys.Mechanical.DataModel.Enums.YesNoType | None

Gets or sets the WeldControlSmoothing.

property Weld.Source : Ansys.Mechanical.DataModel.Enums.WeldSource | None

Gets or sets the WeldControlSource.

property Weld.Suppressed : bool | None

Gets or sets the Suppressed.

property Weld.Thickness : Ansys.Core.Units.Quantity | None

Gets or sets the WeldControlThickness

property Weld.ThicknessAssignment : Ansys.Mechanical.DataModel.Enums.WeldThickness | None

Gets or sets the WeldControlThicknessAssignment.

property Weld.TopEntities : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the Top Entities (Bodies / Faces ) or Extension.

property Weld.TopEntitiesNamedSelection : Ansys.ACT.Automation.Mechanical.NamedSelection | None

Gets or sets the TopEntitiesNamedSelection.

property Weld.UseWorksheet : Ansys.Mechanical.DataModel.Enums.YesNoType | None

Gets or sets the WeldControlUseWorksheet.

property Weld.VisibleProperties : tuple[Ansys.ACT.Automation.Mechanical.Property] | None

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

property Weld.WeldAngle : Ansys.Core.Units.Quantity | None

Gets or sets the WeldAngle.

property Weld.WeldControlWeldWidth : Ansys.Core.Units.Quantity | None

Gets or sets the WeldControlWeldWidth

property Weld.WeldCurves : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the Weld Curves.

property Weld.WeldCurvesBody : int | None

WeldCurvesBody property.

property Weld.WeldDefinitionFileLocation : str | None

Gets or sets the WeldDefinitionFile Location.

property Weld.WeldDetectionMethod : Ansys.Mechanical.DataModel.Enums.WeldDetectionMethodType | None

Gets or sets the method to detect welds. Default: Automatic

property Weld.WeldEdgesNamedSelection : Ansys.ACT.Automation.Mechanical.NamedSelection | None

Gets or sets the WeldEdgesNamedSelection.

property Weld.WeldElementRows : int | None

Gets or sets the WeldControlElementRows.

property Weld.WeldFormulation : Ansys.Mechanical.DataModel.Enums.ContactFormulation | None

Gets or sets the WeldFormulation.

property Weld.WeldHeight : Ansys.Core.Units.Quantity | None

Gets or sets the WeldControlOffsetLayerHeight

property Weld.WeldHeightAssignment : Ansys.Mechanical.DataModel.Enums.WeldHeightAssignment | None

Gets or sets the WeldControlWeldHeightAssignment.

property Weld.WeldHeightExpression : str | None

Gets or sets the WeldControlWeldHeightExpression Value.

property Weld.WeldIntersectionTag : str | None

Gets or sets the WeldControlIntersectionTag Value.

property Weld.WeldIntersectionTolerance : float | None

Gets or sets the WeldControlIntersectionTolerance Value.

property Weld.WeldLength : Ansys.Core.Units.Quantity | None

Gets or sets the WeldControlOffsetLayerHeight

property Weld.WeldPinballRadius : Ansys.Core.Units.Quantity | None

Gets or sets the WeldPinballRadius

property Weld.WeldPitch : Ansys.Core.Units.Quantity | None

Gets or sets the WeldControlOffsetLayerHeight

property Weld.WeldTargetShellFace : Ansys.Mechanical.DataModel.Enums.WeldTargetShellFaceType | None

Gets or sets the WeldTargetShellFace.

property Weld.WeldThicknessExpression : str | None

Gets or sets the WeldControlThicknessExpression Value.

property Weld.WeldWidthAssignment : Ansys.Mechanical.DataModel.Enums.WeldWidthAssignment | None

Gets or sets the WeldControlWeldWidthAssignment.

property Weld.WeldWidthExpression : str | None

Gets or sets the WeldControlWeldWidthExpression Value.

property Weld.WriteDefinitionFile : Ansys.Mechanical.DataModel.Enums.YesNoType | None

Gets or sets the WeldControlSmoothing.

Method detail

Weld.Activate() → None

Activate the current object.

Weld.ActivateAllWorksheetEntries() → None

set the ActivateAllWorksheetEntries

Weld.AddComment() → Ansys.ACT.Automation.Mechanical.Comment

Creates a new child Comment.

Weld.AddFigure() → Ansys.ACT.Automation.Mechanical.Figure

Creates a new child Figure.

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

Weld.AddWeldWorksheetScopeToSelection(index: int, subset: int) → bool

Create worksheet entry scope to selection

Weld.AppendWeldControlIntersectionTag(val: str) → None

append the WeldControlIntersectionTag

Weld.AppendWeldWorksheetIntersectionTag(rowIndices: Iterable[int], val: str) → None

AppendWeldWorksheetIntersectionTag method.

Weld.ClearAutoWeldIntersectionTag(includeInactive: bool) → None

Clear Auto Intersection Tags

Weld.ClearWeldControlIntersectionTag() → None

clear the WeldControlIntersectionTag

Weld.ClearWeldWorksheetIntersectionTag(rowIndices: Iterable[int]) → None

ClearWeldWorksheetIntersectionTag method.

Weld.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) → None

Copies all visible properties from this object to another.

Weld.CreateParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

Weld.DeactivateAllWorksheetEntries() → None

set the DeactivateAllWorksheetEntries

Weld.DeactivateProblematicWorksheetEntries() → None

Deactivate Problematic Worksheet Entries

Weld.Delete() → None

Run the Delete action.

Weld.Duplicate() → Ansys.Mechanical.DataModel.Interfaces.IDataModelObject

Creates a copy of the current DataModelObject.

Weld.GenerateMesh() → None

Generate the Mesh.

Weld.GenerateWeldIntersectionTag() → None

Auto detect Intersection Tags within specified tolerance

Weld.GetChildren(recurses: bool, children: List[ChildrenType]) → List[ChildrenType]

Gets the list of children, filtered by type.

Weld.GetCrossSectionIds(rowIndex: int) → Ansys.Common.Interop.AnsCoreObjects.IAnsUINTColl

get CrossSection Ids

Weld.GetMaterialIds(rowIndex: int) → Ansys.Common.Interop.AnsCoreObjects.IAnsUINTColl

get Material Ids

Weld.GetParameter(propName: str) → Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

Weld.GetWeldWorksheetAbsTol(rowIndex: int) → float

get the WeldControlWorksheetAbsTol

Weld.GetWeldWorksheetActive(rowIndex: int) → bool

get the WeldWorksheetActive

Weld.GetWeldWorksheetBottomEntities(rowIndex: int) → int

get the WeldControlWorksheetBottomEntities

Weld.GetWeldWorksheetEdgeMeshSize(rowIndex: int) → float

get the WeldControlWorksheetEdgeMeshSize

Weld.GetWeldWorksheetEdgeMeshSizeExpression(rowIndex: int) → str

get the WeldControlWorksheetEdgeMeshSizeExpression

Weld.GetWeldWorksheetEdges(rowIndex: int) → int

get the WeldControlWorksheetEdges

Weld.GetWeldWorksheetGenerateEndCaps(rowIndex: int) → bool

get the WeldControlWorksheetGenerateEndCaps

Weld.GetWeldWorksheetHAZDistanceBottomPlate(rowIndex: int) → float

get the WeldControlWorksheetHAZDistance

Weld.GetWeldWorksheetHAZDistanceExpressionBottomPlate(rowIndex: int) → str

get WorksheetHAZDistanceExpressionBottomPlate

Weld.GetWeldWorksheetHAZDistanceExpressionTopPlate(rowIndex: int) → str

get WorksheetHAZDistanceExpressionTopPlate

Weld.GetWeldWorksheetHAZGrowthRate(rowIndex: int) → float

get the WeldControlWorksheetHAZGrowthRate

Weld.GetWeldWorksheetHeight(rowIndex: int) → float

get the WeldControlWorksheetHeight

Weld.GetWeldWorksheetIntersectionTag(rowIndex: int) → str

get the WeldControlWorksheetIntersectionTag

Weld.GetWeldWorksheetLapAngleTol(rowIndex: int) → float

get the WeldControlWorksheetLapAngleTol

Weld.GetWeldWorksheetLength(rowIndex: int) → float

get the WeldControlWorksheetLength

Weld.GetWeldWorksheetMaxThicknessFactor(rowIndex: int) → float

get the WeldControlWorksheetMaxThicknessFactor

Weld.GetWeldWorksheetMinThicknessFactor(rowIndex: int) → float

get the WeldControlWorksheetMinThicknessFactor

Weld.GetWeldWorksheetNumError() → int

Get Number of Errored rows

Weld.GetWeldWorksheetNumLayers(rowIndex: int) → int

get the WeldControlWorksheetNumLayers

Weld.GetWeldWorksheetNumWarning() → int

Get Number of rows with warnings

Weld.GetWeldWorksheetNumWelds(rowIndex: int) → int

get the WeldControlWorksheetNumWelds

Weld.GetWeldWorksheetOffset1(rowIndex: int) → float

get the WeldControlWorksheetOffset1

Weld.GetWeldWorksheetOffset2(rowIndex: int) → float

get the WeldControlWorksheetOffset2

Weld.GetWeldWorksheetPitch(rowIndex: int) → float

get the WeldControlWorksheetPitch

Weld.GetWeldWorksheetSharpAngle(rowIndex: int) → float

get the WeldControlWorksheetSharpAngle

Weld.GetWeldWorksheetSmoothing(rowIndex: int) → bool

get the WeldControlWorksheetSmoothing option

Weld.GetWeldWorksheetThickness(rowIndex: int) → float

get the WeldControlWorksheetThickness

Weld.GetWeldWorksheetThicknessExpression(rowIndex: int) → str

get the WeldControlWorksheetThicknessExpression

Weld.GetWeldWorksheetTopEntities(rowIndex: int) → int

get the WeldControlWorksheetTopEntities

Weld.GetWeldWorksheetWeldAngle(rowIndex: int) → float

get the WeldControlWorksheetWeldAngle

Weld.GetWeldWorksheetWeldCurve(rowIndex: int) → int

get the WeldControlWorksheetWeldCurve

Weld.GetWeldWorksheetWeldHeightExpression(rowIndex: int) → str

get the WeldControlWorksheetWeldHeight

Weld.GetWeldWorksheetWeldWidthExpression(rowIndex: int) → str

get the WeldControlWorksheetWeldWidth

Weld.GetWeldWorksheetWidth(rowIndex: int) → float

get the WeldControlWorksheetWidth

Weld.GroupAllSimilarChildren() → None

Run the GroupAllSimilarChildren action.

Weld.GroupSimilarObjects() → Ansys.ACT.Automation.Mechanical.TreeGroupingFolder

Run the GroupSimilarObjects action.

Weld.PreviewMeshOnWeldWorksheet(rowIndices: Iterable[int]) → None

PreviewMeshOnWeldWorksheet method.

Weld.PromoteToWeldControl(indices: Iterable[int]) → int

PromoteToWeldControl method.

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

Weld.PropertyByName(name: str) → Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

Weld.RemoveParameter(propName: str) → None

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

Weld.RenameBasedOnDefinition() → None

Run the RenameBasedOnDefinition action.

Weld.SetWeldWorksheetAbsTol(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetAbsTol method.

Weld.SetWeldWorksheetActive(rowIndices: Iterable[int], val: bool) → None

SetWeldWorksheetActive method.

Weld.SetWeldWorksheetBottomEntities(rowIndices: Iterable[int], val: int) → None

SetWeldWorksheetBottomEntities method.

Weld.SetWeldWorksheetEdgeMeshSize(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetEdgeMeshSize method.

Weld.SetWeldWorksheetEdgeMeshSizeExpression(rowIndices: Iterable[int], val: str) → None

SetWeldWorksheetEdgeMeshSizeExpression method.

Weld.SetWeldWorksheetEdges(rowIndices: Iterable[int], val: int) → None

SetWeldWorksheetEdges method.

Weld.SetWeldWorksheetGenerateEndCaps(rowIndices: Iterable[int], val: bool) → None

SetWeldWorksheetGenerateEndCaps method.

Weld.SetWeldWorksheetHAZDistanceBottomPlate(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetHAZDistanceBottomPlate method.

Weld.SetWeldWorksheetHAZDistanceExpressionBottomPlate(rowIndices: Iterable[int], val: str) → None

SetWeldWorksheetHAZDistanceExpressionBottomPlate method.

Weld.SetWeldWorksheetHAZDistanceExpressionTopPlate(rowIndices: Iterable[int], val: str) → None

SetWeldWorksheetHAZDistanceExpressionTopPlate method.

Weld.SetWeldWorksheetHAZDistanceTopPlate(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetHAZDistanceTopPlate method.

Weld.SetWeldWorksheetHAZGrowthRate(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetHAZGrowthRate method.

Weld.SetWeldWorksheetHeight(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetHeight method.

Weld.SetWeldWorksheetIntersectionTag(rowIndices: Iterable[int], val: str) → None

SetWeldWorksheetIntersectionTag method.

Weld.SetWeldWorksheetLapAngleTol(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetLapAngleTol method.

Weld.SetWeldWorksheetLength(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetLength method.

Weld.SetWeldWorksheetMaxThicknessFactor(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetMaxThicknessFactor method.

Weld.SetWeldWorksheetMinThicknessFactor(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetMinThicknessFactor method.

Weld.SetWeldWorksheetNumLayers(rowIndices: Iterable[int], val: int) → None

SetWeldWorksheetNumLayers method.

Weld.SetWeldWorksheetNumWelds(rowIndices: Iterable[int], val: int) → None

SetWeldWorksheetNumWelds method.

Weld.SetWeldWorksheetOffset1(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetOffset1 method.

Weld.SetWeldWorksheetOffset2(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetOffset2 method.

Weld.SetWeldWorksheetPitch(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetPitch method.

Weld.SetWeldWorksheetSharpAngle(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetSharpAngle method.

Weld.SetWeldWorksheetSmoothing(rowIndices: Iterable[int], val: bool) → None

SetWeldWorksheetSmoothing method.

Weld.SetWeldWorksheetThickness(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetThickness method.

Weld.SetWeldWorksheetThicknessExpression(rowIndices: Iterable[int], val: str) → None

SetWeldWorksheetThicknessExpression method.

Weld.SetWeldWorksheetTopEntities(rowIndices: Iterable[int], val: int) → None

SetWeldWorksheetTopEntities method.

Weld.SetWeldWorksheetWeldAngle(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetWeldAngle method.

Weld.SetWeldWorksheetWeldBody(rowIndices: Iterable[int], val: int) → None

SetWeldWorksheetWeldBody method.

Weld.SetWeldWorksheetWeldCurve(rowIndices: Iterable[int], val: int) → None

SetWeldWorksheetWeldCurve method.

Weld.SetWeldWorksheetWeldHeightExpression(rowIndices: Iterable[int], val: str) → None

SetWeldWorksheetWeldHeightExpression method.

Weld.SetWeldWorksheetWeldWidthExpression(rowIndices: Iterable[int], val: str) → None

SetWeldWorksheetWeldWidthExpression method.

Weld.SetWeldWorksheetWidth(rowIndices: Iterable[int], val: float) → None

SetWeldWorksheetWidth method.

Weld.WeldWorksheetAddEntry() → None

add an entry to WeldWorksheet

Weld.WeldWorksheetCreateControlForCurveBodies() → None

Create worksheet entries for all curve bodies

Weld.WeldWorksheetDeleteEntry(indices: Iterable[int]) → None

WeldWorksheetDeleteEntry method.

Weld.WeldWorksheetExport(fileName: str) → None

export WeldWorksheet

Weld.WeldWorksheetImport(fileName: str) → None

import WeldWorksheet

Weld.WeldWorksheetNumEntries() → int

Get total number of entries in worksheet

Weld.WeldWorksheetStatus(rowIndex: int) → Ansys.Mechanical.DataModel.Enums.WeldStatus

Get state of a given row

Connect with Ansys