ArbitraryCrack#

class ansys.mechanical.stubs.v241.Ansys.ACT.Automation.Mechanical.ArbitraryCrack#

Bases: object

Defines a ArbitraryCrack.

Overview#

AddCommandSnippet

Creates a new CommandSnippet

Delete

Run the Delete action.

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.

XScaleFactor

Gets or sets the XScaleFactor.

YScaleFactor

Gets or sets the YScaleFactor.

ZScaleFactor

Gets or sets the ZScaleFactor.

CircumferentialDivisions

Gets or sets the CircumferentialDivisions.

GrowthRate

Gets or sets the GrowthRate.

MeshContours

Gets or sets the MeshContours.

SolutionContours

Gets or sets the SolutionContours.

CrackFrontNodes

Gets or sets the CrackFrontNodes.

BottomFaceNodes

Gets or sets the BottomFaceNodes.

TopFaceNodes

Gets or sets the TopFaceNodes.

FrontElementSize

Gets or sets the FrontElementSize.

LargestContourRadius

Gets or sets the LargestContourRadius.

CrackMeshMethod

Gets the CrackMeshMethod.

CrackShape

Gets the CrackShape.

CrackSourceType

Gets the CrackSourceType.

CrackFacesNodes

Gets or sets the CrackFacesNodes.

Suppressed

Gets or sets the Suppressed.

CoordinateSystem

Gets or sets the CoordinateSystem.

CrackSurfaceLocation

Gets or sets the CrackSurfaceLocation.

Location

Gets or sets the Location.

DataModelObjectCategory

Gets the current DataModelObject’s category.

CrackID

Gets the CrackID.

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.

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

Gets the internal object. For advanced usage only.

property ArbitraryCrack.XScaleFactor: System.Double | None

Gets or sets the XScaleFactor.

property ArbitraryCrack.YScaleFactor: System.Double | None

Gets or sets the YScaleFactor.

property ArbitraryCrack.ZScaleFactor: System.Double | None

Gets or sets the ZScaleFactor.

property ArbitraryCrack.CircumferentialDivisions: System.Int32 | None

Gets or sets the CircumferentialDivisions.

property ArbitraryCrack.GrowthRate: System.Double | None

Gets or sets the GrowthRate.

property ArbitraryCrack.MeshContours: System.Int32 | None

Gets or sets the MeshContours.

property ArbitraryCrack.SolutionContours: System.Int32 | None

Gets or sets the SolutionContours.

property ArbitraryCrack.CrackFrontNodes: System.String | None

Gets or sets the CrackFrontNodes.

property ArbitraryCrack.BottomFaceNodes: System.String | None

Gets or sets the BottomFaceNodes.

property ArbitraryCrack.TopFaceNodes: System.String | None

Gets or sets the TopFaceNodes.

property ArbitraryCrack.FrontElementSize: Ansys.Core.Units.Quantity | None

Gets or sets the FrontElementSize.

property ArbitraryCrack.LargestContourRadius: Ansys.Core.Units.Quantity | None

Gets or sets the LargestContourRadius.

property ArbitraryCrack.CrackMeshMethod: Ansys.Mechanical.DataModel.Enums.CrackMeshMethod | None

Gets the CrackMeshMethod.

property ArbitraryCrack.CrackShape: Ansys.Mechanical.DataModel.Enums.CrackShapeType | None

Gets the CrackShape.

property ArbitraryCrack.CrackSourceType: Ansys.Mechanical.DataModel.Enums.CrackSourceType | None

Gets the CrackSourceType.

property ArbitraryCrack.CrackFacesNodes: System.Boolean | None

Gets or sets the CrackFacesNodes.

property ArbitraryCrack.Suppressed: System.Boolean | None

Gets or sets the Suppressed.

property ArbitraryCrack.CoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None

Gets or sets the CoordinateSystem.

property ArbitraryCrack.CrackSurfaceLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the CrackSurfaceLocation.

property ArbitraryCrack.Location: Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the Location.

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

Gets the current DataModelObject’s category.

property ArbitraryCrack.CrackID: System.Int32 | None

Gets the CrackID.

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property ArbitraryCrack.ReadOnly: System.Boolean | None

Gets or sets the ReadOnly.

property ArbitraryCrack.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

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

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

Method detail#

ArbitraryCrack.AddCommandSnippet() Ansys.ACT.Automation.Mechanical.CommandSnippet

Creates a new CommandSnippet

ArbitraryCrack.Delete() System.Void

Run the Delete action.

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

Gets the list of children, filtered by type.

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

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Activate the current object.

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

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

ArbitraryCrack.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

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

Creates a new parameter for a Property.

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

Gets the parameter corresponding to the given property.

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

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