RingCrack#

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

Bases: object

Defines a RingCrack.

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.

CreateParameter

Creates a new parameter for a Property.

Delete

Run the Delete action.

Duplicate

Creates a copy of the current DataModelObject.

GetChildren

Gets the list of children, filtered by type.

GetParameter

Gets the parameter corresponding to the given property.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

PropertyByAPIName

Get a property by its API name.

PropertyByName

Get a property by its unique name.

RemoveParameter

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

BottomFaceNodes

Gets or sets the BottomFaceNodes.

Children

Gets the list of children.

CircumferentialDivisions

Gets or sets the CircumferentialDivisions.

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.

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.

GrowthRate

Gets or sets the GrowthRate.

Images

Gets the list of associated images.

InnerCrackFrontDivisions

Gets or sets the InnerCrackFrontDivisions.

InnerFrontElementSize

Gets or sets the InnerFrontElementSize.

InnerMajorRadius

Gets or sets the InnerMajorRadius.

InnerMinorRadius

Gets or sets the InnerMinorRadius.

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.

OuterCrackFrontDivisions

Gets or sets the OuterCrackFrontDivisions.

OuterFrontElementSize

Gets or sets the OuterFrontElementSize.

OuterMajorRadius

Gets or sets the OuterMajorRadius.

OuterMinorRadius

Gets or sets the OuterMinorRadius.

Properties

Gets the list of properties for this object.

ReadOnly

Gets or sets the ReadOnly.

SolutionContours

Gets or sets the SolutionContours.

Suppressed

Gets or sets the Suppressed.

Target1Nodes

Gets or sets the Target1Nodes.

TopFaceNodes

Gets or sets the TopFaceNodes.

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 RingCrack.BottomFaceNodes: str | None#

Gets or sets the BottomFaceNodes.

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

Gets the list of children.

property RingCrack.CircumferentialDivisions: int | None#

Gets or sets the CircumferentialDivisions.

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

Gets the list of associated comments.

property RingCrack.Contact1Nodes: str | None#

Gets or sets the Contact1Nodes.

property RingCrack.ContactPairsNodes: bool | None#

Gets or sets the ContactPairsNodes.

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

Gets or sets the CoordinateSystem.

property RingCrack.CrackFacesNodes: bool | None#

Gets or sets the CrackFacesNodes.

property RingCrack.CrackFrontNodes: str | None#

Gets or sets the CrackFrontNodes.

property RingCrack.CrackID: int | None#

Gets the CrackID.

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

Gets or sets the CrackMeshMethod.

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

Gets the CrackShape.

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

Gets the CrackSourceType.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

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

Gets or sets the FractureAffectedZone.

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

Gets or sets the FractureAffectedZoneHeight.

property RingCrack.GrowthRate: float | None#

Gets or sets the GrowthRate.

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

Gets the list of associated images.

property RingCrack.InnerCrackFrontDivisions: int | None#

Gets or sets the InnerCrackFrontDivisions.

property RingCrack.InnerFrontElementSize: Ansys.Core.Units.Quantity | None#

Gets or sets the InnerFrontElementSize.

property RingCrack.InnerMajorRadius: Ansys.Core.Units.Quantity | None#

Gets or sets the InnerMajorRadius.

property RingCrack.InnerMinorRadius: Ansys.Core.Units.Quantity | None#

Gets or sets the InnerMinorRadius.

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

Gets the internal object. For advanced usage only.

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

Gets or sets the LargestContourRadius.

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

Gets or sets the Location.

property RingCrack.MeshContours: int | None#

Gets or sets the MeshContours.

property RingCrack.OuterCrackFrontDivisions: int | None#

Gets or sets the OuterCrackFrontDivisions.

property RingCrack.OuterFrontElementSize: Ansys.Core.Units.Quantity | None#

Gets or sets the OuterFrontElementSize.

property RingCrack.OuterMajorRadius: Ansys.Core.Units.Quantity | None#

Gets or sets the OuterMajorRadius.

property RingCrack.OuterMinorRadius: Ansys.Core.Units.Quantity | None#

Gets or sets the OuterMinorRadius.

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

Gets the list of properties for this object.

property RingCrack.ReadOnly: bool | None#

Gets or sets the ReadOnly.

property RingCrack.SolutionContours: int | None#

Gets or sets the SolutionContours.

property RingCrack.Suppressed: bool | None#

Gets or sets the Suppressed.

property RingCrack.Target1Nodes: str | None#

Gets or sets the Target1Nodes.

property RingCrack.TopFaceNodes: str | None#

Gets or sets the TopFaceNodes.

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

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

property RingCrack.XScaleFactor: float | None#

Gets or sets the XScaleFactor.

property RingCrack.YScaleFactor: float | None#

Gets or sets the YScaleFactor.

property RingCrack.ZScaleFactor: float | None#

Gets or sets the ZScaleFactor.

Method detail#

RingCrack.Activate() None#

Activate the current object.

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

Creates a new CommandSnippet

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

Creates a new parameter for a Property.

RingCrack.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

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

Gets the parameter corresponding to the given property.

RingCrack.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

RingCrack.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.
RingCrack.PropertyByName(name: str) Ansys.ACT.Automation.Mechanical.Property#

Get a property by its unique name.

RingCrack.RemoveParameter(propName: str) None#

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