Thickness#

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

Bases: object

Defines a Thickness.

Overview#

Activate

Activate the current object.

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.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

DataModelObjectCategory

Gets the current DataModelObject's category.

Figures

Gets the list of associated figures.

Images

Gets the list of associated images.

IndependentVariable

Gets or sets the IndependentVariable.

InternalObject

Gets the internal object. For advanced usage only.

Location

Gets or sets the Location.

MembraneOffset

Gets or sets the MembraneOffset.

NumberOfSegments

Gets or sets the NumberOfSegments.

OffsetType

Gets or sets the OffsetType.

Properties

Gets the list of properties for this object.

RangeMaximum

Gets or sets the RangeMaximum.

RangeMinimum

Gets or sets the RangeMinimum.

ReadOnly

Gets or sets the ReadOnly.

ScopeMode

Gets the ScopeMode.

Suppressed

Gets or sets the Suppressed.

ThicknessField

Gets or sets the ThicknessField.

VisibleProperties

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

XYZFunctionCoordinateSystem

Gets or sets the XYZFunctionCoordinateSystem.

Property detail#

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the current DataModelObject's category.

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

Gets the list of associated figures.

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

Gets the list of associated images.

property Thickness.IndependentVariable: Ansys.Mechanical.DataModel.Enums.LoadVariableVariationType | None#

Gets or sets the IndependentVariable.

property Thickness.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSThicknessAuto | None#

Gets the internal object. For advanced usage only.

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

Gets or sets the Location.

property Thickness.MembraneOffset: Ansys.Core.Units.Quantity | None#

Gets or sets the MembraneOffset.

property Thickness.NumberOfSegments: int | None#

Gets or sets the NumberOfSegments.

property Thickness.OffsetType: Ansys.Mechanical.DataModel.Enums.ShellOffsetType | None#

Gets or sets the OffsetType.

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

Gets the list of properties for this object.

property Thickness.RangeMaximum: Ansys.Core.Units.Quantity | None#

Gets or sets the RangeMaximum.

property Thickness.RangeMinimum: Ansys.Core.Units.Quantity | None#

Gets or sets the RangeMinimum.

property Thickness.ReadOnly: bool | None#

Gets or sets the ReadOnly.

property Thickness.ScopeMode: Ansys.Mechanical.DataModel.Enums.AutomaticOrManual | None#

Gets the ScopeMode.

property Thickness.Suppressed: bool | None#

Gets or sets the Suppressed.

property Thickness.ThicknessField: Ansys.ACT.Mechanical.Fields.Field | None#

Gets or sets the ThicknessField.

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

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

property Thickness.XYZFunctionCoordinateSystem: Ansys.ACT.Automation.Mechanical.CoordinateSystem | None#

Gets or sets the XYZFunctionCoordinateSystem.

Method detail#

Thickness.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

Creates a new parameter for a Property.

Thickness.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

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

Gets the list of children, filtered by type.

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

Gets the parameter corresponding to the given property.

Thickness.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

Thickness.RemoveParameter(propName: str) None#

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