Crack#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.Crack#

Bases: object

Defines a Crack.

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.

CrackFrontDivisions

Gets or sets the CrackFrontDivisions.

MeshContours

Gets or sets the MeshContours.

SolutionContours

Gets or sets the SolutionContours.

Contact1Nodes

Gets or sets the Contact1Nodes.

CrackFrontNodes

Gets or sets the CrackFrontNodes.

BottomFaceNodes

Gets or sets the BottomFaceNodes.

FaceTopNodes

Gets or sets the FaceTopNodes.

Target1Nodes

Gets or sets the Target1Nodes.

FractureAffectedZoneHeight

Gets or sets the FractureAffectedZoneHeight.

FractureAffectedZone

Gets or sets the FractureAffectedZone.

LargestContourRadius

Gets or sets the LargestContourRadius.

MajorRadius

Gets or sets the MajorRadius.

MinorRadius

Gets or sets the MinorRadius.

CrackShape

Gets the CrackShape.

CrackSourceType

Gets the CrackSourceType.

AlignWithFaceNormal

Gets or sets the AlignWithFaceNormal.

ProjectToNearestSurface

Gets or sets the ProjectToNearestSurface.

ContactPairsNodes

Gets or sets the ContactPairsNodes.

CrackFacesNodes

Gets or sets the CrackFacesNodes.

Suppressed

Gets or sets the Suppressed.

CoordinateSystem

Gets or sets the CoordinateSystem.

Location

Gets the Location.

CrackID

Gets the CrackID.

DataModelObjectCategory

Gets the current DataModelObject’s category.

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

Gets the internal object. For advanced usage only.

property Crack.XScaleFactor: System.Double | None

Gets or sets the XScaleFactor.

property Crack.YScaleFactor: System.Double | None

Gets or sets the YScaleFactor.

property Crack.ZScaleFactor: System.Double | None

Gets or sets the ZScaleFactor.

property Crack.CircumferentialDivisions: System.Int32 | None

Gets or sets the CircumferentialDivisions.

property Crack.CrackFrontDivisions: System.Int32 | None

Gets or sets the CrackFrontDivisions.

property Crack.MeshContours: System.Int32 | None

Gets or sets the MeshContours.

property Crack.SolutionContours: System.Int32 | None

Gets or sets the SolutionContours.

property Crack.Contact1Nodes: System.String | None

Gets or sets the Contact1Nodes.

property Crack.CrackFrontNodes: System.String | None

Gets or sets the CrackFrontNodes.

property Crack.BottomFaceNodes: System.String | None

Gets or sets the BottomFaceNodes.

property Crack.FaceTopNodes: System.String | None

Gets or sets the FaceTopNodes.

property Crack.Target1Nodes: System.String | None

Gets or sets the Target1Nodes.

property Crack.FractureAffectedZoneHeight: Ansys.Core.Units.Quantity | None

Gets or sets the FractureAffectedZoneHeight.

property Crack.FractureAffectedZone: Ansys.Core.Units.Quantity | None

Gets or sets the FractureAffectedZone.

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

Gets or sets the LargestContourRadius.

property Crack.MajorRadius: Ansys.Core.Units.Quantity | None

Gets or sets the MajorRadius.

property Crack.MinorRadius: Ansys.Core.Units.Quantity | None

Gets or sets the MinorRadius.

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

Gets the CrackShape.

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

Gets the CrackSourceType.

property Crack.AlignWithFaceNormal: System.Boolean | None

Gets or sets the AlignWithFaceNormal.

property Crack.ProjectToNearestSurface: System.Boolean | None

Gets or sets the ProjectToNearestSurface.

property Crack.ContactPairsNodes: System.Boolean | None

Gets or sets the ContactPairsNodes.

property Crack.CrackFacesNodes: System.Boolean | None

Gets or sets the CrackFacesNodes.

property Crack.Suppressed: System.Boolean | None

Gets or sets the Suppressed.

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

Gets or sets the CoordinateSystem.

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

Gets the Location.

property Crack.CrackID: System.Int32 | None

Gets the CrackID.

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

Gets the current DataModelObject’s category.

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property Crack.ReadOnly: System.Boolean | None

Gets or sets the ReadOnly.

property Crack.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

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

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

Method detail#

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

Creates a new CommandSnippet

Crack.Delete() System.Void

Run the Delete action.

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

Gets the list of children, filtered by type.

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

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Activate the current object.

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

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

Crack.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

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

Creates a new parameter for a Property.

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

Gets the parameter corresponding to the given property.

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

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