    

 ## On this page

  

 

 # `PreMeshedCrack`

 Last update: 09.03.2026 

<a id="ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.PreMeshedCrack"></a>

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

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

Defines a PreMeshedCrack.

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

## Overview

### Methods

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

NameDescription[`BottomFaceNodes`](#PreMeshedCrack.BottomFaceNodes)Gets or sets the BottomFaceNodes.[`Children`](#PreMeshedCrack.Children)Gets the list of children.[`Comments`](#PreMeshedCrack.Comments)Gets the list of associated comments.[`CoordinateSystem`](#PreMeshedCrack.CoordinateSystem)Gets or sets the CoordinateSystem.[`CrackFacesNodes`](#PreMeshedCrack.CrackFacesNodes)Gets or sets the CrackFacesNodes.[`CrackFront`](#PreMeshedCrack.CrackFront)Gets or sets the CrackFront.[`CrackID`](#PreMeshedCrack.CrackID)Gets the CrackID.[`CrackSourceType`](#PreMeshedCrack.CrackSourceType)Gets the CrackSourceType.[`CrackSymmetry`](#PreMeshedCrack.CrackSymmetry)Gets or sets the CrackSymmetry.[`DataModelObjectCategory`](#PreMeshedCrack.DataModelObjectCategory)Gets the current DataModelObject’s category.[`Figures`](#PreMeshedCrack.Figures)Gets the list of associated figures.[`Images`](#PreMeshedCrack.Images)Gets the list of associated images.[`InternalObject`](#PreMeshedCrack.InternalObject)Gets the internal object. For advanced usage only.[`Properties`](#PreMeshedCrack.Properties)Gets the list of properties for this object.[`ReadOnly`](#PreMeshedCrack.ReadOnly)Gets or sets the ReadOnly.[`ScopingMethod`](#PreMeshedCrack.ScopingMethod)Gets the ScopingMethod.[`SolutionContours`](#PreMeshedCrack.SolutionContours)Gets or sets the SolutionContours.[`Suppressed`](#PreMeshedCrack.Suppressed)Gets or sets the Suppressed.[`TopFaceNodes`](#PreMeshedCrack.TopFaceNodes)Gets or sets the TopFaceNodes.[`VisibleProperties`](#PreMeshedCrack.VisibleProperties)Gets the list of properties that are visible for this object.<a id="property-detail"></a>

## Property detail

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

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

Gets or sets the BottomFaceNodes.

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

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

Gets the list of children.

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

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

Gets the list of associated comments.

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

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

Gets or sets the CoordinateSystem.

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

### *property* PreMeshedCrack.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="PreMeshedCrack.CrackFront"></a>

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

Gets or sets the CrackFront.

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

### *property* PreMeshedCrack.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="PreMeshedCrack.CrackSourceType"></a>

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

Gets the CrackSourceType.

<a id="PreMeshedCrack.CrackSymmetry"></a>

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

Gets or sets the CrackSymmetry.

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

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

Gets the current DataModelObject’s category.

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

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

Gets the list of associated figures.

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

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

Gets the list of associated images.

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

### *property* PreMeshedCrack.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="PreMeshedCrack.Properties"></a>

### *property* PreMeshedCrack.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="PreMeshedCrack.ReadOnly"></a>

### *property* PreMeshedCrack.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="PreMeshedCrack.ScopingMethod"></a>

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

Gets the ScopingMethod.

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

### *property* PreMeshedCrack.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="PreMeshedCrack.Suppressed"></a>

### *property* PreMeshedCrack.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="PreMeshedCrack.TopFaceNodes"></a>

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

Gets or sets the TopFaceNodes.

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

### *property* PreMeshedCrack.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="method-detail"></a>

## Method detail

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

### PreMeshedCrack.Activate()

Activate the current object.

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

### PreMeshedCrack.AddCommandSnippet()

Creates a new CommandSnippet

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

### PreMeshedCrack.AddComment()

Creates a new child Comment.

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

### PreMeshedCrack.AddFigure()

Creates a new child Figure.

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

### PreMeshedCrack.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="PreMeshedCrack.CopyTo"></a>

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

Copies all visible properties from this object to another.

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

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

Creates a new parameter for a Property.

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

### PreMeshedCrack.Delete()

Run the Delete action.

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

### PreMeshedCrack.Duplicate()

Creates a copy of the current DataModelObject.

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

### PreMeshedCrack.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="PreMeshedCrack.GetParameter"></a>

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

Gets the parameter corresponding to the given property.

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

### PreMeshedCrack.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

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

### PreMeshedCrack.GroupSimilarObjects()

Run the GroupSimilarObjects action.

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

### PreMeshedCrack.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="PreMeshedCrack.PropertyByName"></a>

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

Get a property by its unique name.

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

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

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