CrackInitiation#

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

Bases: object

Defines a CrackInitiation.

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.

SolutionContours

Gets or sets the SolutionContours.

BottomFaceNodes

Gets or sets the BottomFaceNodes.

TopFaceNodes

Gets or sets the TopFaceNodes.

CenterXCoordinate

Gets or sets the CenterXCoordinate.

CenterYCoordinate

Gets or sets the CenterYCoordinate.

CenterZCoordinate

Gets or sets the CenterZCoordinate.

MajorRadius

Gets or sets the MajorRadius.

MinorRadius

Gets or sets the MinorRadius.

CriterionValue

Gets or sets the CriterionValue.

CrackShape

Gets or sets the CrackShape.

CrackOrientation

Gets or sets the CrackOrientation.

CrackSourceType

Gets the CrackSourceType.

ScopingMethod

Gets or sets the ScopingMethod.

CrackCenter

Gets or sets the CrackCenter.

InitiationCriterion

Gets the InitiationCriterion.

Suppressed

Gets or sets the Suppressed.

NamedSelection

Gets or sets the NamedSelection.

CoordinateSystem

Gets or sets the CoordinateSystem.

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

Gets the internal object. For advanced usage only.

property CrackInitiation.SolutionContours: System.Int32 | None

Gets or sets the SolutionContours.

property CrackInitiation.BottomFaceNodes: System.String | None

Gets or sets the BottomFaceNodes.

property CrackInitiation.TopFaceNodes: System.String | None

Gets or sets the TopFaceNodes.

property CrackInitiation.CenterXCoordinate: Ansys.Core.Units.Quantity | None

Gets or sets the CenterXCoordinate.

property CrackInitiation.CenterYCoordinate: Ansys.Core.Units.Quantity | None

Gets or sets the CenterYCoordinate.

property CrackInitiation.CenterZCoordinate: Ansys.Core.Units.Quantity | None

Gets or sets the CenterZCoordinate.

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

Gets or sets the MajorRadius.

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

Gets or sets the MinorRadius.

property CrackInitiation.CriterionValue: Ansys.Core.Units.Quantity | None

Gets or sets the CriterionValue.

property CrackInitiation.CrackShape: Ansys.Mechanical.DataModel.MechanicalEnums.CrackInitiation.CrackShape | None

Gets or sets the CrackShape.

property CrackInitiation.CrackOrientation: Ansys.Mechanical.DataModel.MechanicalEnums.CrackInitiation.CrackOrientation | None

Gets or sets the CrackOrientation.

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

Gets the CrackSourceType.

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

Gets or sets the ScopingMethod.

property CrackInitiation.CrackCenter: Ansys.Mechanical.DataModel.MechanicalEnums.CrackInitiation.CrackCenter | None

Gets or sets the CrackCenter.

property CrackInitiation.InitiationCriterion: Ansys.Mechanical.DataModel.MechanicalEnums.CrackInitiation.InitiationCriterion | None

Gets the InitiationCriterion.

property CrackInitiation.Suppressed: System.Boolean | None

Gets or sets the Suppressed.

property CrackInitiation.NamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None

Gets or sets the NamedSelection.

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

Gets or sets the CoordinateSystem.

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

Gets or sets the Location.

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

Gets the current DataModelObject’s category.

property CrackInitiation.CrackID: System.Int32 | None

Gets the CrackID.

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property CrackInitiation.ReadOnly: System.Boolean | None

Gets or sets the ReadOnly.

property CrackInitiation.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

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

Gets the list of properties for this object.

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

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

Method detail#

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

Creates a new CommandSnippet

CrackInitiation.Delete() System.Void

Run the Delete action.

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

Gets the list of children, filtered by type.

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

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Activate the current object.

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

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

CrackInitiation.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

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

Creates a new parameter for a Property.

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

Gets the parameter corresponding to the given property.

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

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