ThroughCrack#

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

Bases: object

Defines a ThroughCrack.

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.

Depth

Gets or sets the Depth.

EndWidth

Gets or sets the EndWidth.

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.

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.

MidWidth

Gets or sets the MidWidth.

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.

StartWidth

Gets or sets the StartWidth.

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

AttachedRefs property.

property ThroughCrack.BottomFaceNodes: str | None#

Gets or sets the BottomFaceNodes.

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

Gets the list of children.

property ThroughCrack.CircumferentialDivisions: int | None#

Gets or sets the CircumferentialDivisions.

property ThroughCrack.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

property ThroughCrack.Contact1Nodes: str | None#

Gets or sets the Contact1Nodes.

property ThroughCrack.ContactPairsNodes: bool | None#

Gets or sets the ContactPairsNodes.

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

Gets or sets the CoordinateSystem.

property ThroughCrack.CrackFacesNodes: bool | None#

Gets or sets the CrackFacesNodes.

property ThroughCrack.CrackFrontDivisions: int | None#

Gets or sets the CrackFrontDivisions.

property ThroughCrack.CrackFrontNodes: str | None#

Gets or sets the CrackFrontNodes.

property ThroughCrack.CrackID: int | None#

Gets the CrackID.

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

Gets or sets the CrackMeshMethod.

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

Gets the CrackShape.

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

Gets the CrackSourceType.

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

Gets the current DataModelObject's category.

property ThroughCrack.Depth: Ansys.Core.Units.Quantity | None#

Gets or sets the Depth.

property ThroughCrack.EndWidth: Ansys.Core.Units.Quantity | None#

Gets or sets the EndWidth.

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

Gets the list of associated figures.

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

Gets or sets the FractureAffectedZone.

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

Gets or sets the FractureAffectedZoneHeight.

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

Gets or sets the FrontElementSize.

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

GroupingFolder property.

property ThroughCrack.GrowthRate: float | None#

Gets or sets the GrowthRate.

property ThroughCrack.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property ThroughCrack.ImportableObjectSourceId: str | None#

ImportableObjectSourceId property.

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

Gets the internal object. For advanced usage only.

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

Gets or sets the LargestContourRadius.

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

Gets or sets the Location.

property ThroughCrack.MeshContours: int | None#

Gets or sets the MeshContours.

property ThroughCrack.MidWidth: Ansys.Core.Units.Quantity | None#

Gets or sets the MidWidth.

property ThroughCrack.Name: str | None#

Name property.

property ThroughCrack.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

property ThroughCrack.ReadOnly: bool | None#

Gets or sets the ReadOnly.

property ThroughCrack.SolutionContours: int | None#

Gets or sets the SolutionContours.

property ThroughCrack.StartWidth: Ansys.Core.Units.Quantity | None#

Gets or sets the StartWidth.

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

State property.

property ThroughCrack.Suppressed: bool | None#

Gets or sets the Suppressed.

property ThroughCrack.Target1Nodes: str | None#

Gets or sets the Target1Nodes.

property ThroughCrack.TopFaceNodes: str | None#

Gets or sets the TopFaceNodes.

property ThroughCrack.TransferableObjectId: str | None#

TransferableObjectId property.

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

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

property ThroughCrack.XScaleFactor: float | None#

Gets or sets the XScaleFactor.

property ThroughCrack.YScaleFactor: float | None#

Gets or sets the YScaleFactor.

property ThroughCrack.ZScaleFactor: float | None#

Gets or sets the ZScaleFactor.

Method detail#

ThroughCrack.Activate() None#

Activate the current object.

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

Creates a new CommandSnippet

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

ThroughCrack.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

ThroughCrack.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

ThroughCrack.GetHashCode() int#

GetHashCode method.

ThroughCrack.GetIconFile() System.Byte#

GetIconFile method.

ThroughCrack.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

ThroughCrack.GetPath() str#

GetPath method.

ThroughCrack.GetPropertyName(dispId: int) str#

GetPropertyName method.

ThroughCrack.GetPropertyValue(name: str) Any#

GetPropertyValue method.

ThroughCrack.GetType() type#

GetType method.

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

GetVisibleProperties method.

ThroughCrack.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

ThroughCrack.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

ThroughCrack.InitializeLifetimeService() Any#

InitializeLifetimeService method.

ThroughCrack.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

ThroughCrack.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

ThroughCrack.RemoveParameter(propName: str) None#

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

ThroughCrack.ToString() str#

ToString method.