Washer#

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

Bases: object

Defines a Washer.

Overview#

GenerateMesh

Generate the Mesh.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

Delete

Run the Delete action.

GetChildren

Gets the list of children, filtered by type.

GetChildren

Gets the list of children, filtered by type.

AddComment

Creates a new child Comment.

AddFigure

Creates a new child Figure.

AddImage

Creates a new child Image.

Activate

Activate the current object.

CopyTo

Copies all visible properties from this object to another.

Duplicate

Creates a copy of the current DataModelObject.

GroupAllSimilarChildren

Run the GroupAllSimilarChildren action.

GroupSimilarObjects

Run the GroupSimilarObjects action.

PropertyByName

Get a property by its unique name.

PropertyByAPIName

Get a property by its API name.

CreateParameter

Creates a new parameter for a Property.

GetParameter

Gets the parameter corresponding to the given property.

RemoveParameter

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

NumberOfWasherLayers

NumberOfWasherLayers property.

WasherMethod

WasherMethod property.

WasherType

WasherType property.

LayerTransitionType

LayerTransitionType property.

NumberOfWasherDivisions

NumberOfWasherDivisions property.

MinimumNumberOfWasherDivisions

MinimumNumberOfWasherDivisions property.

FactorOfDiameter

FactorOfDiameter property.

WasherLayerHeight

WasherLayerHeight property.

GrowthRate

GrowthRate property.

WasherDefeatureProximityTolerance

WasherDefeatureProximityTolerance property.

WasherAutoDefeature

WasherAutoDefeature property.

InternalObject

Gets the internal object. For advanced usage only.

NamedSelection

Gets or sets the NamedSelection.

Location

Gets or sets the Location.

DataModelObjectCategory

Gets the current DataModelObject’s category.

ScopingMethod

Gets or sets the ScopingMethod.

Suppressed

Gets or sets the Suppressed.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

Figures

Gets the list of associated figures.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

Properties

Gets the list of properties for this object.

VisibleProperties

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

Property detail#

property Washer.NumberOfWasherLayers: System.Int32 | None

NumberOfWasherLayers property.

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

WasherMethod property.

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

WasherType property.

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

LayerTransitionType property.

property Washer.NumberOfWasherDivisions: System.Int32 | None

NumberOfWasherDivisions property.

property Washer.MinimumNumberOfWasherDivisions: System.Int32 | None

MinimumNumberOfWasherDivisions property.

property Washer.FactorOfDiameter: System.Double | None

FactorOfDiameter property.

property Washer.WasherLayerHeight: Ansys.Core.Units.Quantity | None

WasherLayerHeight property.

property Washer.GrowthRate: System.Double | None

GrowthRate property.

property Washer.WasherDefeatureProximityTolerance: Ansys.Core.Units.Quantity | None

WasherDefeatureProximityTolerance property.

property Washer.WasherAutoDefeature: System.Boolean | None

WasherAutoDefeature property.

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

Gets the internal object. For advanced usage only.

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

Gets or sets the NamedSelection.

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

Gets or sets the Location.

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

Gets the current DataModelObject’s category.

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

Gets or sets the ScopingMethod.

property Washer.Suppressed: System.Boolean | None

Gets or sets the Suppressed.

property Washer.Children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject] | None

Gets the list of children.

property Washer.Comments: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Comment] | None

Gets the list of associated comments.

property Washer.Figures: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Figure] | None

Gets the list of associated figures.

property Washer.Images: System.Collections.Generic.IEnumerable[Ansys.ACT.Automation.Mechanical.Image] | None

Gets the list of associated images.

property Washer.InternalObject: System.Object | None

Gets the internal object. For advanced usage only.

property Washer.Properties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

Gets the list of properties for this object.

property Washer.VisibleProperties: System.Collections.Generic.IReadOnlyList[Ansys.ACT.Automation.Mechanical.Property] | None

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

Method detail#

Washer.GenerateMesh() System.Void

Generate the Mesh.

Washer.RenameBasedOnDefinition() System.Void

Run the RenameBasedOnDefinition action.

Washer.Delete() System.Void

Run the Delete action.

Washer.GetChildren(recurses: System.Boolean, children: System.Collections.Generic.IList[ChildrenType]) System.Collections.Generic.IList[ChildrenType]

Gets the list of children, filtered by type.

Washer.GetChildren(category: Ansys.Mechanical.DataModel.Enums.DataModelObjectCategory, recurses: System.Boolean, children: System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]) System.Collections.Generic.IList[Ansys.Mechanical.DataModel.Interfaces.IDataModelObject]

Gets the list of children, filtered by type.

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: System.String) 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.Activate() System.Void

Activate the current object.

Washer.CopyTo(other: Ansys.ACT.Automation.Mechanical.DataModelObject) System.Void

Copies all visible properties from this object to another.

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

Creates a copy of the current DataModelObject.

Washer.GroupAllSimilarChildren() System.Void

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

Washer.PropertyByName(name: System.String) Ansys.ACT.Automation.Mechanical.Property

Get a property by its unique name.

Washer.PropertyByAPIName(name: System.String) 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.CreateParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Creates a new parameter for a Property.

Washer.GetParameter(propName: System.String) Ansys.ACT.Interfaces.Mechanical.IParameter

Gets the parameter corresponding to the given property.

Washer.RemoveParameter(propName: System.String) System.Void

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