Skip to main content

Mechanical scripting interface

InterfaceDelamination

Last update: 14.01.2025

class Ansys.ACT.Automation.Mechanical.InterfaceDelamination

Bases: object

Defines a InterfaceDelamination.

Overview

Methods

Name Description
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.

Properties

Name Description
AutomaticTimeStepping Gets or sets the AutomaticTimeStepping.
Children Gets the list of children.
Comments Gets the list of associated comments.
CriticalRate Gets or sets the CriticalRate.
DataModelObjectCategory Gets the current DataModelObject’s category.
DistanceTolerance Gets or sets the DistanceTolerance.
FailureCriteriaOption Gets or sets the FailureCriteriaOption.
Figures Gets the list of associated figures.
GenerationMethod Gets or sets the GenerationMethod.
Images Gets the list of associated images.
InitialCrack Gets or sets the InitialCrack.
InitialTimeStep Gets or sets the InitialTimeStep.
InternalObject Gets the internal object. For advanced usage only.
MatchControl Gets or sets the MatchControl.
Material Gets or sets the Material.
MaximumTimeStep Gets or sets the MaximumTimeStep.
Method Gets or sets the Method.
MinimumTimeStep Gets or sets the MinimumTimeStep.
Properties Gets the list of properties for this object.
ReadOnly Gets or sets the ReadOnly.
SourceLocation Gets or sets the SourceLocation.
Suppressed Gets or sets the Suppressed.
TargetLocation Gets or sets the TargetLocation.
ToleranceType Gets or sets the ToleranceType.
Type Gets the Type.
VisibleProperties Gets the list of properties that are visible for this object.

Property detail

property InterfaceDelamination.AutomaticTimeStepping : Ansys.Mechanical.DataModel.Enums.AutomaticOrManual | None

Gets or sets the AutomaticTimeStepping.

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

Gets the list of children.

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

Gets the list of associated comments.

property InterfaceDelamination.CriticalRate : Ansys.Core.Units.Quantity | None

Gets or sets the CriticalRate.

property InterfaceDelamination.DataModelObjectCategory : Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory | None

Gets the current DataModelObject’s category.

property InterfaceDelamination.DistanceTolerance : Ansys.Core.Units.Quantity | None

Gets or sets the DistanceTolerance.

property InterfaceDelamination.FailureCriteriaOption : Ansys.Mechanical.DataModel.Enums.DelaminationFailureCriteriaOption | None

Gets or sets the FailureCriteriaOption.

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

Gets the list of associated figures.

property InterfaceDelamination.GenerationMethod : Ansys.Mechanical.DataModel.Enums.DelaminationGenerationMethod | None

Gets or sets the GenerationMethod.

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

Gets the list of associated images.

property InterfaceDelamination.InitialCrack : Ansys.ACT.Automation.Mechanical.GenericCrack | None

Gets or sets the InitialCrack.

property InterfaceDelamination.InitialTimeStep : Ansys.Core.Units.Quantity | None

Gets or sets the InitialTimeStep.

property InterfaceDelamination.InternalObject : Ansys.Common.Interop.DSObjectsAuto.IDSDelaminationAuto | None

Gets the internal object. For advanced usage only.

property InterfaceDelamination.MatchControl : Ansys.ACT.Automation.Mechanical.MeshControls.MatchControl | None

Gets or sets the MatchControl.

property InterfaceDelamination.Material : str | None

Gets or sets the Material.

property InterfaceDelamination.MaximumTimeStep : Ansys.Core.Units.Quantity | None

Gets or sets the MaximumTimeStep.

property InterfaceDelamination.Method : Ansys.Mechanical.DataModel.Enums.DelaminationMethod | None

Gets or sets the Method.

property InterfaceDelamination.MinimumTimeStep : Ansys.Core.Units.Quantity | None

Gets or sets the MinimumTimeStep.

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

Gets the list of properties for this object.

property InterfaceDelamination.ReadOnly : bool | None

Gets or sets the ReadOnly.

property InterfaceDelamination.SourceLocation : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the SourceLocation.

property InterfaceDelamination.Suppressed : bool | None

Gets or sets the Suppressed.

property InterfaceDelamination.TargetLocation : Ansys.ACT.Interfaces.Common.ISelectionInfo | None

Gets or sets the TargetLocation.

property InterfaceDelamination.ToleranceType : Ansys.Mechanical.DataModel.Enums.ToleranceType | None

Gets or sets the ToleranceType.

property InterfaceDelamination.Type : Ansys.Mechanical.DataModel.Enums.DelaminationType | None

Gets the Type.

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

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

Method detail

InterfaceDelamination.Activate()

Activate the current object.

InterfaceDelamination.AddCommandSnippet()

Creates a new CommandSnippet

InterfaceDelamination.AddComment()

Creates a new child Comment.

InterfaceDelamination.AddFigure()

Creates a new child Figure.

InterfaceDelamination.AddImage(filePath: str)

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.

InterfaceDelamination.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject)

Copies all visible properties from this object to another.

InterfaceDelamination.CreateParameter(propName: str)

Creates a new parameter for a Property.

InterfaceDelamination.Delete()

Run the Delete action.

InterfaceDelamination.Duplicate()

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

InterfaceDelamination.GetParameter(propName: str)

Gets the parameter corresponding to the given property.

InterfaceDelamination.GroupAllSimilarChildren()

Run the GroupAllSimilarChildren action.

InterfaceDelamination.GroupSimilarObjects()

Run the GroupSimilarObjects action.

InterfaceDelamination.PropertyByAPIName(name: str)

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.

InterfaceDelamination.PropertyByName(name: str)

Get a property by its unique name.

InterfaceDelamination.RemoveParameter(propName: str)

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