Washer#

class ansys.mechanical.stubs.v251.Ansys.ACT.Automation.Mechanical.MeshControls.Washer#

Bases: object

Defines a Washer.

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.

GenerateMesh

Generate the Mesh.

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.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

DataModelObjectCategory

Gets the current DataModelObject's category.

ElementSize

Gets or sets the Quad Layer Element Size.

FaceNamedSelection

Gets or sets the Named Selection for Quad Layer Direction Face Scoping.

FaceScopingMethod

Gets or sets the face scoping method for Quad Layer Direction.

FaceSelection

Gets or sets the Quad Layer Direction Face Geoemetry Selection.

Figures

Gets the list of associated figures.

FirstLayerHeight

FirstLayerHeight property.

GrowthRate

GrowthRate property.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

LayerTransitionType

LayerTransitionType property.

Location

Gets or sets the Location.

MinimumNumberOfDivisions

MinimumNumberOfDivisions property.

NamedSelection

Gets or sets the NamedSelection.

NumberOfDivisions

NumberOfDivisions property.

NumberOfLayers

NumberOfLayers property.

Properties

Gets the list of properties for this object.

QuadLayerDefeatureProximityTolerance

QuadLayerDefeatureProximityTolerance property.

QuadLayerDirection

Gets or sets the Quad Layer Direction.

QuadLayerType

Gets or sets the Quad Layer Type.

Relaxation

Gets or sets the relaxation of Quad Layer.

ScaleOfDiameter

ScaleOfDiameter property.

ScopingMethod

Gets or sets the ScopingMethod.

Suppressed

Gets or sets the Suppressed.

VisibleProperties

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

WasherAutoDefeature

WasherAutoDefeature property.

WasherHeightType

WasherHeightType property.

WasherMethod

WasherMethod property.

Property detail#

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

Gets the list of children.

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

Gets the list of associated comments.

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

Gets the current DataModelObject's category.

property Washer.ElementSize: Ansys.Core.Units.Quantity | None#

Gets or sets the Quad Layer Element Size.

property Washer.FaceNamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the Named Selection for Quad Layer Direction Face Scoping.

property Washer.FaceScopingMethod: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the face scoping method for Quad Layer Direction.

property Washer.FaceSelection: Ansys.ACT.Interfaces.Common.ISelectionInfo | None#

Gets or sets the Quad Layer Direction Face Geoemetry Selection.

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

Gets the list of associated figures.

property Washer.FirstLayerHeight: Ansys.Core.Units.Quantity | None#

FirstLayerHeight property.

property Washer.GrowthRate: float | None#

GrowthRate property.

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

Gets the list of associated images.

property Washer.InternalObject: Ansys.Common.Interop.DSObjectsAuto.IDSMeshControlAuto | None#

Gets the internal object. For advanced usage only.

property Washer.LayerTransitionType: Ansys.Mechanical.DataModel.Enums.LayerTransitionType | None#

LayerTransitionType property.

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

Gets or sets the Location.

property Washer.MinimumNumberOfDivisions: int | None#

MinimumNumberOfDivisions property.

property Washer.NamedSelection: Ansys.ACT.Automation.Mechanical.NamedSelection | None#

Gets or sets the NamedSelection.

property Washer.NumberOfDivisions: int | None#

NumberOfDivisions property.

property Washer.NumberOfLayers: int | None#

NumberOfLayers property.

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

Gets the list of properties for this object.

property Washer.QuadLayerDefeatureProximityTolerance: Ansys.Core.Units.Quantity | None#

QuadLayerDefeatureProximityTolerance property.

property Washer.QuadLayerDirection: Ansys.Mechanical.DataModel.Enums.QuadLayerDirection | None#

Gets or sets the Quad Layer Direction.

property Washer.QuadLayerType: Ansys.Mechanical.DataModel.Enums.QuadLayerType | None#

Gets or sets the Quad Layer Type.

property Washer.Relaxation: Ansys.Mechanical.DataModel.Enums.QuadLayerRelaxation | None#

Gets or sets the relaxation of Quad Layer.

property Washer.ScaleOfDiameter: float | None#

ScaleOfDiameter property.

property Washer.ScopingMethod: Ansys.Mechanical.DataModel.Enums.GeometryDefineByType | None#

Gets or sets the ScopingMethod.

property Washer.Suppressed: bool | None#

Gets or sets the Suppressed.

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

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

property Washer.WasherAutoDefeature: bool | None#

WasherAutoDefeature property.

property Washer.WasherHeightType: Ansys.Mechanical.DataModel.Enums.WasherType | None#

WasherHeightType property.

property Washer.WasherMethod: Ansys.Mechanical.DataModel.Enums.WasherMethod | None#

WasherMethod property.

Method detail#

Washer.Activate() None#

Activate the current object.

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

Creates a new child Comment.

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

Creates a new child Figure.

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

Copies all visible properties from this object to another.

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

Creates a new parameter for a Property.

Washer.Delete() None#

Run the Delete action.

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

Creates a copy of the current DataModelObject.

Washer.GenerateMesh() None#

Generate the Mesh.

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

Gets the list of children, filtered by type.

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

Gets the parameter corresponding to the given property.

Washer.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

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

Get a property by its unique name.

Washer.RemoveParameter(propName: str) None#

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

Washer.RenameBasedOnDefinition() None#

Run the RenameBasedOnDefinition action.