    

 ## On this page

  

 

 # `ThroughCrack`

 Last update: 16.07.2025 

<a id="ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.ThroughCrack"></a>

#### *class* Ansys.ACT.Automation.Mechanical.ThroughCrack

Bases: [`object`](https://docs.python.org/3/library/functions.html#object)

Defines a ThroughCrack.

<a id="overview"></a>

## Overview

### Methods

NameDescription[`Activate`](#ThroughCrack.Activate)Activate the current object.[`AddCommandSnippet`](#ThroughCrack.AddCommandSnippet)Creates a new CommandSnippet[`AddComment`](#ThroughCrack.AddComment)Creates a new child Comment.[`AddFigure`](#ThroughCrack.AddFigure)Creates a new child Figure.[`AddImage`](#ThroughCrack.AddImage)Creates a new child Image.[`CopyTo`](#ThroughCrack.CopyTo)Copies all visible properties from this object to another.[`CreateParameter`](#ThroughCrack.CreateParameter)Creates a new parameter for a Property.[`Delete`](#ThroughCrack.Delete)Run the Delete action.[`Duplicate`](#ThroughCrack.Duplicate)Creates a copy of the current DataModelObject.[`GetChildren`](#ThroughCrack.GetChildren)Gets the list of children, filtered by type.[`GetParameter`](#ThroughCrack.GetParameter)Gets the parameter corresponding to the given property.[`GroupAllSimilarChildren`](#ThroughCrack.GroupAllSimilarChildren)Run the GroupAllSimilarChildren action.[`GroupSimilarObjects`](#ThroughCrack.GroupSimilarObjects)Run the GroupSimilarObjects action.[`PropertyByAPIName`](#ThroughCrack.PropertyByAPIName)Get a property by its API name.[`PropertyByName`](#ThroughCrack.PropertyByName)Get a property by its unique name.[`RemoveParameter`](#ThroughCrack.RemoveParameter)Removes the parameter from the parameter set corresponding to the given property.### Properties

NameDescription[`BottomFaceNodes`](#ThroughCrack.BottomFaceNodes)Gets or sets the BottomFaceNodes.[`Children`](#ThroughCrack.Children)Gets the list of children.[`CircumferentialDivisions`](#ThroughCrack.CircumferentialDivisions)Gets or sets the CircumferentialDivisions.[`Comments`](#ThroughCrack.Comments)Gets the list of associated comments.[`Contact1Nodes`](#ThroughCrack.Contact1Nodes)Gets or sets the Contact1Nodes.[`ContactPairsNodes`](#ThroughCrack.ContactPairsNodes)Gets or sets the ContactPairsNodes.[`CoordinateSystem`](#ThroughCrack.CoordinateSystem)Gets or sets the CoordinateSystem.[`CrackFacesNodes`](#ThroughCrack.CrackFacesNodes)Gets or sets the CrackFacesNodes.[`CrackFrontDivisions`](#ThroughCrack.CrackFrontDivisions)Gets or sets the CrackFrontDivisions.[`CrackFrontNodes`](#ThroughCrack.CrackFrontNodes)Gets or sets the CrackFrontNodes.[`CrackID`](#ThroughCrack.CrackID)Gets the CrackID.[`CrackMeshMethod`](#ThroughCrack.CrackMeshMethod)Gets or sets the CrackMeshMethod.[`CrackShape`](#ThroughCrack.CrackShape)Gets the CrackShape.[`CrackSourceType`](#ThroughCrack.CrackSourceType)Gets the CrackSourceType.[`DataModelObjectCategory`](#ThroughCrack.DataModelObjectCategory)Gets the current DataModelObject’s category.[`Depth`](#ThroughCrack.Depth)Gets or sets the Depth.[`EndWidth`](#ThroughCrack.EndWidth)Gets or sets the EndWidth.[`Figures`](#ThroughCrack.Figures)Gets the list of associated figures.[`FractureAffectedZone`](#ThroughCrack.FractureAffectedZone)Gets or sets the FractureAffectedZone.[`FractureAffectedZoneHeight`](#ThroughCrack.FractureAffectedZoneHeight)Gets or sets the FractureAffectedZoneHeight.[`FrontElementSize`](#ThroughCrack.FrontElementSize)Gets or sets the FrontElementSize.[`GrowthRate`](#ThroughCrack.GrowthRate)Gets or sets the GrowthRate.[`Images`](#ThroughCrack.Images)Gets the list of associated images.[`InternalObject`](#ThroughCrack.InternalObject)Gets the internal object. For advanced usage only.[`LargestContourRadius`](#ThroughCrack.LargestContourRadius)Gets or sets the LargestContourRadius.[`Location`](#ThroughCrack.Location)Gets or sets the Location.[`MeshContours`](#ThroughCrack.MeshContours)Gets or sets the MeshContours.[`MidWidth`](#ThroughCrack.MidWidth)Gets or sets the MidWidth.[`Properties`](#ThroughCrack.Properties)Gets the list of properties for this object.[`ReadOnly`](#ThroughCrack.ReadOnly)Gets or sets the ReadOnly.[`SolutionContours`](#ThroughCrack.SolutionContours)Gets or sets the SolutionContours.[`StartWidth`](#ThroughCrack.StartWidth)Gets or sets the StartWidth.[`Suppressed`](#ThroughCrack.Suppressed)Gets or sets the Suppressed.[`Target1Nodes`](#ThroughCrack.Target1Nodes)Gets or sets the Target1Nodes.[`TopFaceNodes`](#ThroughCrack.TopFaceNodes)Gets or sets the TopFaceNodes.[`VisibleProperties`](#ThroughCrack.VisibleProperties)Gets the list of properties that are visible for this object.[`XScaleFactor`](#ThroughCrack.XScaleFactor)Gets or sets the XScaleFactor.[`YScaleFactor`](#ThroughCrack.YScaleFactor)Gets or sets the YScaleFactor.[`ZScaleFactor`](#ThroughCrack.ZScaleFactor)Gets or sets the ZScaleFactor.<a id="property-detail"></a>

## Property detail

<a id="ThroughCrack.BottomFaceNodes"></a>

### *property* ThroughCrack.BottomFaceNodes *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the BottomFaceNodes.

<a id="ThroughCrack.Children"></a>

### *property* ThroughCrack.Children *: List\[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of children.

<a id="ThroughCrack.CircumferentialDivisions"></a>

### *property* ThroughCrack.CircumferentialDivisions *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the CircumferentialDivisions.

<a id="ThroughCrack.Comments"></a>

### *property* ThroughCrack.Comments *: Iterable\[[Ansys.ACT.Automation.Mechanical.Comment](Comment.md#ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.Comment)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated comments.

<a id="ThroughCrack.Contact1Nodes"></a>

### *property* ThroughCrack.Contact1Nodes *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Contact1Nodes.

<a id="ThroughCrack.ContactPairsNodes"></a>

### *property* ThroughCrack.ContactPairsNodes *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the ContactPairsNodes.

<a id="ThroughCrack.CoordinateSystem"></a>

### *property* ThroughCrack.CoordinateSystem *: [Ansys.ACT.Automation.Mechanical.CoordinateSystem](CoordinateSystem.md#ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.CoordinateSystem) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the CoordinateSystem.

<a id="ThroughCrack.CrackFacesNodes"></a>

### *property* ThroughCrack.CrackFacesNodes *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the CrackFacesNodes.

<a id="ThroughCrack.CrackFrontDivisions"></a>

### *property* ThroughCrack.CrackFrontDivisions *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the CrackFrontDivisions.

<a id="ThroughCrack.CrackFrontNodes"></a>

### *property* ThroughCrack.CrackFrontNodes *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the CrackFrontNodes.

<a id="ThroughCrack.CrackID"></a>

### *property* ThroughCrack.CrackID *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the CrackID.

<a id="ThroughCrack.CrackMeshMethod"></a>

### *property* ThroughCrack.CrackMeshMethod *: [Ansys.Mechanical.DataModel.Enums.CrackMeshMethod](../../../Mechanical/DataModel/Enums/CrackMeshMethod.md#ansys.mechanical.stubs.v242.Ansys.Mechanical.DataModel.Enums.CrackMeshMethod) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the CrackMeshMethod.

<a id="ThroughCrack.CrackShape"></a>

### *property* ThroughCrack.CrackShape *: [Ansys.Mechanical.DataModel.Enums.CrackShapeType](../../../Mechanical/DataModel/Enums/CrackShapeType.md#ansys.mechanical.stubs.v242.Ansys.Mechanical.DataModel.Enums.CrackShapeType) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the CrackShape.

<a id="ThroughCrack.CrackSourceType"></a>

### *property* ThroughCrack.CrackSourceType *: [Ansys.Mechanical.DataModel.Enums.CrackSourceType](../../../Mechanical/DataModel/Enums/CrackSourceType.md#ansys.mechanical.stubs.v242.Ansys.Mechanical.DataModel.Enums.CrackSourceType) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the CrackSourceType.

<a id="ThroughCrack.DataModelObjectCategory"></a>

### *property* ThroughCrack.DataModelObjectCategory *: [Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory](../../../Mechanical/DataModel/Enums/DataModelObjectCategory.md#ansys.mechanical.stubs.v242.Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the current DataModelObject’s category.

<a id="ThroughCrack.Depth"></a>

### *property* ThroughCrack.Depth *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Depth.

<a id="ThroughCrack.EndWidth"></a>

### *property* ThroughCrack.EndWidth *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the EndWidth.

<a id="ThroughCrack.Figures"></a>

### *property* ThroughCrack.Figures *: Iterable\[[Ansys.ACT.Automation.Mechanical.Figure](Figure.md#ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.Figure)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated figures.

<a id="ThroughCrack.FractureAffectedZone"></a>

### *property* ThroughCrack.FractureAffectedZone *: [Ansys.Mechanical.DataModel.Enums.FractureAffectedZone](../../../Mechanical/DataModel/Enums/FractureAffectedZone.md#ansys.mechanical.stubs.v242.Ansys.Mechanical.DataModel.Enums.FractureAffectedZone) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the FractureAffectedZone.

<a id="ThroughCrack.FractureAffectedZoneHeight"></a>

### *property* ThroughCrack.FractureAffectedZoneHeight *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the FractureAffectedZoneHeight.

<a id="ThroughCrack.FrontElementSize"></a>

### *property* ThroughCrack.FrontElementSize *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the FrontElementSize.

<a id="ThroughCrack.GrowthRate"></a>

### *property* ThroughCrack.GrowthRate *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the GrowthRate.

<a id="ThroughCrack.Images"></a>

### *property* ThroughCrack.Images *: Iterable\[[Ansys.ACT.Automation.Mechanical.Image](Image.md#ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.Image)\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of associated images.

<a id="ThroughCrack.InternalObject"></a>

### *property* ThroughCrack.InternalObject *: Ansys.Common.Interop.DSObjectsAuto.IDSCrackAuto | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the internal object. For advanced usage only.

<a id="ThroughCrack.LargestContourRadius"></a>

### *property* ThroughCrack.LargestContourRadius *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the LargestContourRadius.

<a id="ThroughCrack.Location"></a>

### *property* ThroughCrack.Location *: Ansys.ACT.Interfaces.Common.ISelectionInfo | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Location.

<a id="ThroughCrack.MeshContours"></a>

### *property* ThroughCrack.MeshContours *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the MeshContours.

<a id="ThroughCrack.MidWidth"></a>

### *property* ThroughCrack.MidWidth *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the MidWidth.

<a id="ThroughCrack.Properties"></a>

### *property* ThroughCrack.Properties *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[Ansys.ACT.Automation.Mechanical.Property\] | [None](https://docs.python.org/3/library/constants.html#None)*

Gets the list of properties for this object.

<a id="ThroughCrack.ReadOnly"></a>

### *property* ThroughCrack.ReadOnly *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the ReadOnly.

<a id="ThroughCrack.SolutionContours"></a>

### *property* ThroughCrack.SolutionContours *: [int](https://docs.python.org/3/library/functions.html#int) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the SolutionContours.

<a id="ThroughCrack.StartWidth"></a>

### *property* ThroughCrack.StartWidth *: Ansys.Core.Units.Quantity | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the StartWidth.

<a id="ThroughCrack.Suppressed"></a>

### *property* ThroughCrack.Suppressed *: [bool](https://docs.python.org/3/library/functions.html#bool) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Suppressed.

<a id="ThroughCrack.Target1Nodes"></a>

### *property* ThroughCrack.Target1Nodes *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the Target1Nodes.

<a id="ThroughCrack.TopFaceNodes"></a>

### *property* ThroughCrack.TopFaceNodes *: [str](https://docs.python.org/3/library/stdtypes.html#str) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the TopFaceNodes.

<a id="ThroughCrack.VisibleProperties"></a>

### *property* ThroughCrack.VisibleProperties *: [tuple](https://docs.python.org/3/library/stdtypes.html#tuple)\[Ansys.ACT.Automation.Mechanical.Property\] | [None](https://docs.python.org/3/library/constants.html#None)*

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

<a id="ThroughCrack.XScaleFactor"></a>

### *property* ThroughCrack.XScaleFactor *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the XScaleFactor.

<a id="ThroughCrack.YScaleFactor"></a>

### *property* ThroughCrack.YScaleFactor *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the YScaleFactor.

<a id="ThroughCrack.ZScaleFactor"></a>

### *property* ThroughCrack.ZScaleFactor *: [float](https://docs.python.org/3/library/functions.html#float) | [None](https://docs.python.org/3/library/constants.html#None)*

Gets or sets the ZScaleFactor.

<a id="method-detail"></a>

## Method detail

<a id="ThroughCrack.Activate"></a>

### ThroughCrack.Activate()

Activate the current object.

<a id="ThroughCrack.AddCommandSnippet"></a>

### ThroughCrack.AddCommandSnippet()

Creates a new CommandSnippet

<a id="ThroughCrack.AddComment"></a>

### ThroughCrack.AddComment()

Creates a new child Comment.

<a id="ThroughCrack.AddFigure"></a>

### ThroughCrack.AddFigure()

Creates a new child Figure.

<a id="ThroughCrack.AddImage"></a>

### ThroughCrack.AddImage(filePath: [str](https://docs.python.org/3/library/stdtypes.html#str))

```text
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.

```

<a id="ThroughCrack.CopyTo"></a>

### ThroughCrack.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)

Copies all visible properties from this object to another.

<a id="ThroughCrack.CreateParameter"></a>

### ThroughCrack.CreateParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

Creates a new parameter for a Property.

<a id="ThroughCrack.Delete"></a>

### ThroughCrack.Delete()

Run the Delete action.

<a id="ThroughCrack.Duplicate"></a>

### ThroughCrack.Duplicate()

Creates a copy of the current DataModelObject.

<a id="ThroughCrack.GetChildren"></a>

### ThroughCrack.GetChildren(recurses: [bool](https://docs.python.org/3/library/functions.html#bool), children: List\[ChildrenType\])

Gets the list of children, filtered by type.

<a id="ThroughCrack.GetParameter"></a>

### ThroughCrack.GetParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

Gets the parameter corresponding to the given property.

<a id="ThroughCrack.GroupAllSimilarChildren"></a>

### ThroughCrack.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

<a id="ThroughCrack.GroupSimilarObjects"></a>

### ThroughCrack.GroupSimilarObjects()

Run the GroupSimilarObjects action.

<a id="ThroughCrack.PropertyByAPIName"></a>

### ThroughCrack.PropertyByAPIName(name: [str](https://docs.python.org/3/library/stdtypes.html#str))

```text
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.

```

<a id="ThroughCrack.PropertyByName"></a>

### ThroughCrack.PropertyByName(name: [str](https://docs.python.org/3/library/stdtypes.html#str))

Get a property by its unique name.

<a id="ThroughCrack.RemoveParameter"></a>

### ThroughCrack.RemoveParameter(propName: [str](https://docs.python.org/3/library/stdtypes.html#str))

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