CrackInitiation#

class ansys.mechanical.stubs.v261.Ansys.ACT.Automation.Mechanical.CrackInitiation(internalObject: Any)#

Bases: object

Defines a CrackInitiation.

Overview#

Activate

Activate the current object.

AddCommandSnippet

Creates a new CommandSnippet

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

CopyTo

Copies all visible properties from this object to another.

CreateObjRef

CreateObjRef method.

CreateParameter

Creates a new parameter for a Property.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

Equals

Equals method.

GetAPIName

Property name bound to dispId.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

GetDetailsView

GetDetailsView method.

GetEnumName

Enum name bound to value

GetHashCode

GetHashCode method.

GetIconFile

GetIconFile method.

GetLifetimeService

GetLifetimeService method.

GetObjectData

GetObjectData method.

GetParameter

Gets the parameter corresponding to the given property.

GetPath

GetPath method.

GetPropertyName

GetPropertyName method.

GetPropertyValue

GetPropertyValue method.

GetType

GetType method.

GetVisibleProperties

GetVisibleProperties method.

GetVisiblePropertyNames

GetVisiblePropertyNames method.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

InitializeLifetimeService

InitializeLifetimeService method.

IsPropertyEditable

IsPropertyEditable method.

IsPropertyVisible

IsPropertyVisible method.

PropertyByAPIName

Get a property by its API name.

PropertyById

PropertyById method.

PropertyByName

Get a property by its unique name.

RemoveParameter

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

ToString

ToString method.

AttachedRefs

AttachedRefs property.

BottomFaceNodes

Gets or sets the BottomFaceNodes.

CenterXCoordinate

Gets or sets the CenterXCoordinate.

CenterYCoordinate

Gets or sets the CenterYCoordinate.

CenterZCoordinate

Gets or sets the CenterZCoordinate.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

CoordinateSystem

Gets or sets the CoordinateSystem.

CrackCenter

Gets or sets the CrackCenter.

CrackID

Gets the CrackID.

CrackOrientation

Gets or sets the CrackOrientation.

CrackShape

Gets or sets the CrackShape.

CrackSourceType

Gets the CrackSourceType.

CriterionValue

Gets or sets the CriterionValue.

DataModelObjectCategory

Gets the current DataModelObject's category.

Figures

Gets the list of associated figures.

GroupingFolder

GroupingFolder property.

IconName

IconName property.

Images

Gets the list of associated images.

ImportableObjectSourceId

ImportableObjectSourceId property.

InitiationCriterion

Gets or sets the type of initiation criterion. Default: MaximumPrincipalStress

InternalObject

Gets the internal object. For advanced usage only.

Location

Gets or sets the Location.

MajorRadius

Gets or sets the MajorRadius.

Material

Gets or sets the Material for the initiation criterion.

MinorRadius

Gets or sets the MinorRadius.

Name

Name property.

NamedSelection

Gets or sets the NamedSelection.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

ReadOnly

Gets or sets the ReadOnly.

ScopingMethod

Gets or sets the ScopingMethod.

SolutionContours

Gets or sets the SolutionContours.

State

State property.

Suppressed

Gets or sets the Suppressed.

TopFaceNodes

Gets or sets the TopFaceNodes.

TransferableObjectId

TransferableObjectId property.

VisibleProperties

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

Property detail#

property CrackInitiation.AttachedRefs: List[int] | None#

AttachedRefs property.

property CrackInitiation.BottomFaceNodes: str | None#

Gets or sets the BottomFaceNodes.

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.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#

Gets the list of children.

property CrackInitiation.ClsId: int | None#

ClsId property.

property CrackInitiation.Comments: Iterable[Ansys.ACT.Automation.Mechanical.Comment] | None#

Gets the list of associated comments.

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

Gets or sets the CoordinateSystem.

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

Gets or sets the CrackCenter.

property CrackInitiation.CrackID: int | None#

Gets the CrackID.

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

Gets or sets the CrackOrientation.

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

Gets or sets the CrackShape.

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

Gets the CrackSourceType.

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

Gets or sets the CriterionValue.

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

Gets the current DataModelObject's category.

property CrackInitiation.Figures: Iterable[Ansys.ACT.Automation.Mechanical.Figure] | None#

Gets the list of associated figures.

property CrackInitiation.GroupingFolder: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

GroupingFolder property.

property CrackInitiation.IconName: str | None#

IconName property.

property CrackInitiation.Images: Iterable[Ansys.ACT.Automation.Mechanical.Image] | None#

Gets the list of associated images.

property CrackInitiation.ImportableObjectSourceId: str | None#

ImportableObjectSourceId property.

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

Gets or sets the type of initiation criterion. Default: MaximumPrincipalStress

property CrackInitiation.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSCrackAuto | None#

Gets the internal object. For advanced usage only.

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

Gets or sets the Location.

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

Gets or sets the MajorRadius.

property CrackInitiation.Material: str | None#

Gets or sets the Material for the initiation criterion.

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

Gets or sets the MinorRadius.

property CrackInitiation.Name: str | None#

Name property.

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

Gets or sets the NamedSelection.

property CrackInitiation.ObjectId: int | None#

ObjectId property.

property CrackInitiation.ObjectState: Ansys.Mechanical.DataModel.Enums.ObjectState | None#

ObjectState property.

property CrackInitiation.ObjectTags: Iterable[Ansys.Mechanical.DataModel.Interfaces.IObjectTag] | None#

ObjectTags property.

property CrackInitiation.Parent: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject | None#

Parent property.

property CrackInitiation.Properties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

Gets the list of properties for this object.

property CrackInitiation.ReadOnly: bool | None#

Gets or sets the ReadOnly.

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

Gets or sets the ScopingMethod.

property CrackInitiation.SolutionContours: int | None#

Gets or sets the SolutionContours.

property CrackInitiation.State: Ansys.Mechanical.DataModel.Enums.Legacy.State | None#

State property.

property CrackInitiation.Suppressed: bool | None#

Gets or sets the Suppressed.

property CrackInitiation.TopFaceNodes: str | None#

Gets or sets the TopFaceNodes.

property CrackInitiation.TransferableObjectId: str | None#

TransferableObjectId property.

property CrackInitiation.VisibleProperties: tuple[Ansys.ACT.Automation.Mechanical.Property] | None#

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

Method detail#

CrackInitiation.Activate() None#

Activate the current object.

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

Creates a new CommandSnippet

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: str) 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.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

CrackInitiation.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

CrackInitiation.CreateParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Creates a new parameter for a Property.

CrackInitiation.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

CrackInitiation.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

CrackInitiation.GetAPIName(dispId: int) str#

Property name bound to dispId.

CrackInitiation.GetAllProperties() List[Ansys.ACT.Automation.Mechanical.AutomationPropertyWrapper]#

GetAllProperties method.

CrackInitiation.GetChildren(recurses: bool, children: List[ChildrenType]) List[ChildrenType]#

Gets the list of children, filtered by type.

CrackInitiation.GetDetailsView() Ansys.ACT.Automation.Mechanical.DetailsViewData#

GetDetailsView method.

CrackInitiation.GetEnumName(enumType: type, value: int, dispId: int) str#

Enum name bound to value

CrackInitiation.GetHashCode() int#

GetHashCode method.

CrackInitiation.GetIconFile() System.Byte#

GetIconFile method.

CrackInitiation.GetLifetimeService() Any#

GetLifetimeService method.

CrackInitiation.GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext) None#

GetObjectData method.

CrackInitiation.GetParameter(propName: str) Ansys.ACT.Interfaces.Mechanical.IParameter#

Gets the parameter corresponding to the given property.

CrackInitiation.GetPath() str#

GetPath method.

CrackInitiation.GetPropertyName(dispId: int) str#

GetPropertyName method.

CrackInitiation.GetPropertyValue(name: str) Any#

GetPropertyValue method.

CrackInitiation.GetType() type#

GetType method.

CrackInitiation.GetVisibleProperties() List[System.Reflection.PropertyInfo]#

GetVisibleProperties method.

CrackInitiation.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

CrackInitiation.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

CrackInitiation.InitializeLifetimeService() Any#

InitializeLifetimeService method.

CrackInitiation.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

CrackInitiation.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

CrackInitiation.PropertyByAPIName(name: str) 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.PropertyById(dispId: int) Ansys.ACT.Automation.Mechanical.Property#

PropertyById method.

CrackInitiation.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

CrackInitiation.RemoveParameter(propName: str) None#

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

CrackInitiation.ToString() str#

ToString method.