CylindricalCrack#

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

Bases: object

Defines a CylindricalCrack.

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.

ContactPairsNodes

Gets or sets the ContactPairsNodes.

CoordinateSystem

Gets or sets the CoordinateSystem.

CrackFacesNodes

Gets or sets the CrackFacesNodes.

CrackFrontDivisions

Gets or sets the CrackFrontDivisions.

CrackFrontNodes

Gets or sets the CrackFrontNodes.

CrackID

Gets the CrackID.

CrackMeshMethod

Gets or sets the CrackMeshMethod.

CrackShape

Gets the CrackShape.

CrackSourceType

Gets the CrackSourceType.

DataModelObjectCategory

Gets the current DataModelObject's category.

Figures

Gets the list of associated figures.

FractureAffectedZone

Gets or sets the FractureAffectedZone.

FractureAffectedZoneHeight

Gets or sets the FractureAffectedZoneHeight.

FrontElementSize

Gets or sets the FrontElementSize.

GroupingFolder

GroupingFolder property.

GrowthRate

Gets or sets the GrowthRate.

Height

Gets or sets the Height.

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.

MajorRadius

Gets or sets the MajorRadius.

MeshContours

Gets or sets the MeshContours.

MinorRadius

Gets or sets the MinorRadius.

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.

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 CylindricalCrack.AttachedRefs: List[int] | None#

AttachedRefs property.

property CylindricalCrack.BottomFaceNodes: str | None#

Gets or sets the BottomFaceNodes.

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

Gets the list of children.

property CylindricalCrack.CircumferentialDivisions: int | None#

Gets or sets the CircumferentialDivisions.

property CylindricalCrack.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property CylindricalCrack.Contact1Nodes: str | None#

Gets or sets the Contact1Nodes.

property CylindricalCrack.ContactPairsNodes: bool | None#

Gets or sets the ContactPairsNodes.

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

Gets or sets the CoordinateSystem.

property CylindricalCrack.CrackFacesNodes: bool | None#

Gets or sets the CrackFacesNodes.

property CylindricalCrack.CrackFrontDivisions: int | None#

Gets or sets the CrackFrontDivisions.

property CylindricalCrack.CrackFrontNodes: str | None#

Gets or sets the CrackFrontNodes.

property CylindricalCrack.CrackID: int | None#

Gets the CrackID.

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

Gets or sets the CrackMeshMethod.

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

Gets the CrackShape.

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

Gets the CrackSourceType.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

property CylindricalCrack.FractureAffectedZone: Ansys.Mechanical.DataModel.Enums.FractureAffectedZone | None#

Gets or sets the FractureAffectedZone.

property CylindricalCrack.FractureAffectedZoneHeight: Ansys.Core.Units.Quantity | None#

Gets or sets the FractureAffectedZoneHeight.

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

Gets or sets the FrontElementSize.

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

GroupingFolder property.

property CylindricalCrack.GrowthRate: float | None#

Gets or sets the GrowthRate.

property CylindricalCrack.Height: Ansys.Core.Units.Quantity | None#

Gets or sets the Height.

property CylindricalCrack.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property CylindricalCrack.ImportableObjectSourceId: str | None#

ImportableObjectSourceId property.

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

Gets the internal object. For advanced usage only.

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

Gets or sets the LargestContourRadius.

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

Gets or sets the Location.

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

Gets or sets the MajorRadius.

property CylindricalCrack.MeshContours: int | None#

Gets or sets the MeshContours.

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

Gets or sets the MinorRadius.

property CylindricalCrack.Name: str | None#

Name property.

property CylindricalCrack.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

property CylindricalCrack.ReadOnly: bool | None#

Gets or sets the ReadOnly.

property CylindricalCrack.SolutionContours: int | None#

Gets or sets the SolutionContours.

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

State property.

property CylindricalCrack.Suppressed: bool | None#

Gets or sets the Suppressed.

property CylindricalCrack.Target1Nodes: str | None#

Gets or sets the Target1Nodes.

property CylindricalCrack.TopFaceNodes: str | None#

Gets or sets the TopFaceNodes.

property CylindricalCrack.TransferableObjectId: str | None#

TransferableObjectId property.

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

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

property CylindricalCrack.XScaleFactor: float | None#

Gets or sets the XScaleFactor.

property CylindricalCrack.YScaleFactor: float | None#

Gets or sets the YScaleFactor.

property CylindricalCrack.ZScaleFactor: float | None#

Gets or sets the ZScaleFactor.

Method detail#

CylindricalCrack.Activate() None#

Activate the current object.

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

Creates a new CommandSnippet

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

CylindricalCrack.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

CylindricalCrack.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

CylindricalCrack.GetHashCode() int#

GetHashCode method.

CylindricalCrack.GetIconFile() System.Byte#

GetIconFile method.

CylindricalCrack.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

CylindricalCrack.GetPath() str#

GetPath method.

CylindricalCrack.GetPropertyName(dispId: int) str#

GetPropertyName method.

CylindricalCrack.GetPropertyValue(name: str) Any#

GetPropertyValue method.

CylindricalCrack.GetType() type#

GetType method.

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

GetVisibleProperties method.

CylindricalCrack.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

CylindricalCrack.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

CylindricalCrack.InitializeLifetimeService() Any#

InitializeLifetimeService method.

CylindricalCrack.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

CylindricalCrack.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

CylindricalCrack.RemoveParameter(propName: str) None#

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

CylindricalCrack.ToString() str#

ToString method.