Fracture#

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

Bases: object

Defines a Fracture.

Overview#

Activate

Activate the current object.

AddArbitraryCrack

Creates a new ArbitraryCrack

AddComment

Creates a new child Comment.

AddContactDebonding

Creates a new ContactDebonding

AddCornerCrack

Creates a new CornerCrack

AddCrack

Creates a new child Crack.

AddCrackInitiation

Creates a new CrackInitiation

AddCylindricalCrack

Creates a new CylindricalCrack

AddEdgeCrack

Creates a new EdgeCrack

AddEllipticalCrack

Creates a new EllipticalCrack

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

AddInterfaceDelamination

Creates a new InterfaceDelamination

AddPreMeshedCrack

Creates a new PreMeshedCrack

AddRingCrack

Creates a new RingCrack

AddSMARTCrackGrowth

Creates a new SMARTCrackGrowth

AddSemiEllipticalCrack

Creates a new SemiEllipticalCrack

AddThroughCrack

Creates a new ThroughCrack

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.

GenerateAllCrackMesh

Run the GenerateAllCrackMesh action.

GenerateAllInterfaceDelamination

Generate all interfaces delamination from an external model.

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.

Children

Gets the list of children.

ClsId

ClsId property.

Comments

Gets the list of associated comments.

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.

InternalObject

Gets the internal object. For advanced usage only.

Name

Name property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

RemeshHexDominantToTetrahedral

Gets or sets the RemeshHexDominantToTetrahedral.

RemeshHexDominantToTetrahedralType

Gets or sets the re-meshing approach, if any, surrounding the crack.

State

State property.

VisibleProperties

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

Property detail#

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

AttachedRefs property.

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

Gets the list of children.

property Fracture.ClsId: int | None#

ClsId property.

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

Gets the list of associated comments.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

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

GroupingFolder property.

property Fracture.IconName: str | None#

IconName property.

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

Gets the list of associated images.

property Fracture.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSFractureGroupAuto | None#

Gets the internal object. For advanced usage only.

property Fracture.Name: str | None#

Name property.

property Fracture.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

property Fracture.RemeshHexDominantToTetrahedral: bool | None#

Gets or sets the RemeshHexDominantToTetrahedral.

property Fracture.RemeshHexDominantToTetrahedralType: Ansys.Mechanical.DataModel.Enums.RemeshHexDominantToTetrahedral | None#

Gets or sets the re-meshing approach, if any, surrounding the crack. Default: Off

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

State property.

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

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

Method detail#

Fracture.Activate() None#

Activate the current object.

Fracture.AddArbitraryCrack() Ansys.ACT.Automation.Mechanical.ArbitraryCrack#

Creates a new ArbitraryCrack

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

Creates a new child Comment.

Fracture.AddContactDebonding() Ansys.ACT.Automation.Mechanical.ContactDebonding#

Creates a new ContactDebonding

Fracture.AddCornerCrack() Ansys.ACT.Automation.Mechanical.CornerCrack#

Creates a new CornerCrack

Fracture.AddCrack() Ansys.ACT.Automation.Mechanical.Crack#

Creates a new child Crack.

Fracture.AddCrackInitiation() Ansys.ACT.Automation.Mechanical.CrackInitiation#

Creates a new CrackInitiation

Fracture.AddCylindricalCrack() Ansys.ACT.Automation.Mechanical.CylindricalCrack#

Creates a new CylindricalCrack

Fracture.AddEdgeCrack() Ansys.ACT.Automation.Mechanical.EdgeCrack#

Creates a new EdgeCrack

Fracture.AddEllipticalCrack() Ansys.ACT.Automation.Mechanical.EllipticalCrack#

Creates a new EllipticalCrack

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

Creates a new child Figure.

Fracture.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.
Fracture.AddInterfaceDelamination() Ansys.ACT.Automation.Mechanical.InterfaceDelamination#

Creates a new InterfaceDelamination

Fracture.AddPreMeshedCrack() Ansys.ACT.Automation.Mechanical.PreMeshedCrack#

Creates a new PreMeshedCrack

Fracture.AddRingCrack() Ansys.ACT.Automation.Mechanical.RingCrack#

Creates a new RingCrack

Fracture.AddSMARTCrackGrowth() Ansys.ACT.Automation.Mechanical.SMARTCrackGrowth#

Creates a new SMARTCrackGrowth

Fracture.AddSemiEllipticalCrack() Ansys.ACT.Automation.Mechanical.SemiEllipticalCrack#

Creates a new SemiEllipticalCrack

Fracture.AddThroughCrack() Ansys.ACT.Automation.Mechanical.ThroughCrack#

Creates a new ThroughCrack

Fracture.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) None#

Copies all visible properties from this object to another.

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

CreateObjRef method.

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

Creates a new parameter for a Property.

Fracture.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Equals method.

Fracture.GenerateAllCrackMesh() None#

Run the GenerateAllCrackMesh action.

Fracture.GenerateAllInterfaceDelamination() None#

Generate all interfaces delamination from an external model.

Fracture.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

GetDetailsView method.

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

Enum name bound to value

Fracture.GetHashCode() int#

GetHashCode method.

Fracture.GetIconFile() System.Byte#

GetIconFile method.

Fracture.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

Fracture.GetPath() str#

GetPath method.

Fracture.GetPropertyName(dispId: int) str#

GetPropertyName method.

Fracture.GetPropertyValue(name: str) Any#

GetPropertyValue method.

Fracture.GetType() type#

GetType method.

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

GetVisibleProperties method.

Fracture.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

Fracture.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

Fracture.InitializeLifetimeService() Any#

InitializeLifetimeService method.

Fracture.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

Fracture.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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

Get a property by its unique name.

Fracture.RemoveParameter(propName: str) None#

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

Fracture.ToString() str#

ToString method.