ArbitraryCrack#

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

Bases: object

Defines a ArbitraryCrack.

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.

Children

Gets the list of children.

CircumferentialDivisions

Gets or sets the CircumferentialDivisions.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

Contact1Nodes

Gets or sets the Contact1Nodes named selection name.

ContactPairsNodes

Gets or sets the ContactPairsNodes.

CoordinateSystem

Gets or sets the CoordinateSystem.

CrackFacesNodes

Gets or sets the CrackFacesNodes.

CrackFrontNodes

Gets or sets the CrackFrontNodes.

CrackID

Gets the CrackID.

CrackMeshMethod

Gets the CrackMeshMethod.

CrackShape

Gets the CrackShape.

CrackSourceType

Gets the CrackSourceType.

CrackSurfaceLocation

Gets or sets the CrackSurfaceLocation.

DataModelObjectCategory

Gets the current DataModelObject's category.

Figures

Gets the list of associated figures.

FrontElementSize

Gets or sets the FrontElementSize.

GroupingFolder

GroupingFolder property.

GrowthRate

Gets or sets the GrowthRate.

IconName

IconName property.

Images

Gets the list of associated images.

ImportableObjectSourceId

ImportableObjectSourceId property.

InternalObject

Gets the internal object. For advanced usage only.

LargestContourRadius

Gets or sets the LargestContourRadius.

Location

Gets or sets the Location.

MeshContours

Gets or sets the MeshContours.

Name

Name property.

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.

SolutionContours

Gets or sets the SolutionContours.

State

State property.

Suppressed

Gets or sets the Suppressed.

Target1Nodes

Gets or sets the Target1Nodes named selection name.

TopFaceNodes

Gets or sets the TopFaceNodes.

TransferableObjectId

TransferableObjectId property.

VisibleProperties

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

XScaleFactor

Gets or sets the XScaleFactor.

YScaleFactor

Gets or sets the YScaleFactor.

ZScaleFactor

Gets or sets the ZScaleFactor.

Property detail#

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

AttachedRefs property.

property ArbitraryCrack.BottomFaceNodes: str | None#

Gets or sets the BottomFaceNodes.

property ArbitraryCrack.Children: List[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None#

Gets the list of children.

property ArbitraryCrack.CircumferentialDivisions: int | None#

Gets or sets the CircumferentialDivisions.

property ArbitraryCrack.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property ArbitraryCrack.Contact1Nodes: str | None#

Gets or sets the Contact1Nodes named selection name.

property ArbitraryCrack.ContactPairsNodes: bool | None#

Gets or sets the ContactPairsNodes.

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

Gets or sets the CoordinateSystem.

property ArbitraryCrack.CrackFacesNodes: bool | None#

Gets or sets the CrackFacesNodes.

property ArbitraryCrack.CrackFrontNodes: str | None#

Gets or sets the CrackFrontNodes.

property ArbitraryCrack.CrackID: int | None#

Gets the CrackID.

property ArbitraryCrack.CrackMeshMethod: Ansys.Mechanical.DataModel.Enums.CrackMeshMethod | None#

Gets the CrackMeshMethod.

property ArbitraryCrack.CrackShape: Ansys.Mechanical.DataModel.Enums.CrackShapeType | None#

Gets the CrackShape.

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

Gets the CrackSourceType.

property ArbitraryCrack.CrackSurfaceLocation: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the CrackSurfaceLocation.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

property ArbitraryCrack.FrontElementSize: Ansys.Core.Units.Quantity | None#

Gets or sets the FrontElementSize.

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

GroupingFolder property.

property ArbitraryCrack.GrowthRate: float | None#

Gets or sets the GrowthRate.

property ArbitraryCrack.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property ArbitraryCrack.ImportableObjectSourceId: str | None#

ImportableObjectSourceId property.

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

Gets the internal object. For advanced usage only.

property ArbitraryCrack.LargestContourRadius: Ansys.Core.Units.Quantity | None#

Gets or sets the LargestContourRadius.

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

Gets or sets the Location.

property ArbitraryCrack.MeshContours: int | None#

Gets or sets the MeshContours.

property ArbitraryCrack.Name: str | None#

Name property.

property ArbitraryCrack.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

property ArbitraryCrack.ReadOnly: bool | None#

Gets or sets the ReadOnly.

property ArbitraryCrack.SolutionContours: int | None#

Gets or sets the SolutionContours.

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

State property.

property ArbitraryCrack.Suppressed: bool | None#

Gets or sets the Suppressed.

property ArbitraryCrack.Target1Nodes: str | None#

Gets or sets the Target1Nodes named selection name.

property ArbitraryCrack.TopFaceNodes: str | None#

Gets or sets the TopFaceNodes.

property ArbitraryCrack.TransferableObjectId: str | None#

TransferableObjectId property.

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

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

property ArbitraryCrack.XScaleFactor: float | None#

Gets or sets the XScaleFactor.

property ArbitraryCrack.YScaleFactor: float | None#

Gets or sets the YScaleFactor.

property ArbitraryCrack.ZScaleFactor: float | None#

Gets or sets the ZScaleFactor.

Method detail#

ArbitraryCrack.Activate() None#

Activate the current object.

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

Creates a new CommandSnippet

ArbitraryCrack.AddComment() Ansys.ACT.Automation.Mechanical.Comment#

Creates a new child Comment.

ArbitraryCrack.AddFigure() Ansys.ACT.Automation.Mechanical.Figure#

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

ArbitraryCrack.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

ArbitraryCrack.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

ArbitraryCrack.GetHashCode() int#

GetHashCode method.

ArbitraryCrack.GetIconFile() System.Byte#

GetIconFile method.

ArbitraryCrack.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

ArbitraryCrack.GetPath() str#

GetPath method.

ArbitraryCrack.GetPropertyName(dispId: int) str#

GetPropertyName method.

ArbitraryCrack.GetPropertyValue(name: str) Any#

GetPropertyValue method.

ArbitraryCrack.GetType() type#

GetType method.

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

GetVisibleProperties method.

ArbitraryCrack.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

ArbitraryCrack.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

ArbitraryCrack.InitializeLifetimeService() Any#

InitializeLifetimeService method.

ArbitraryCrack.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

ArbitraryCrack.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

ArbitraryCrack.RemoveParameter(propName: str) None#

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

ArbitraryCrack.ToString() str#

ToString method.