Washer#

class ansys.mechanical.stubs.v242.Ansys.ACT.Automation.Mechanical.MeshControls.Washer(internalObject: Any)#

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.

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.

GenerateMesh

Generate the Mesh.

GetAPIName

Property name bound to dispId.

GetAllProperties

GetAllProperties method.

GetChildren

Gets the list of children, filtered by type.

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.

RenameBasedOnDefinition

Run the RenameBasedOnDefinition action.

ToString

ToString method.

AllowNodeMovement

Gets or sets the AllowNodeMovement.

Children

Gets the list of children.

Comments

Gets the list of associated comments.

DataModelObjectCategory

Gets the current DataModelObject's category.

FactorOfDiameter

FactorOfDiameter property.

Figures

Gets the list of associated figures.

GroupingFolder

GroupingFolder property.

GrowthRate

GrowthRate property.

IconName

IconName property.

Images

Gets the list of associated images.

InternalObject

Gets the internal object. For advanced usage only.

LayerHeight

LayerHeight property.

LayerTransitionType

LayerTransitionType property.

Location

Gets or sets the Location.

MinimumNumberOfWasherDivisions

MinimumNumberOfWasherDivisions property.

Name

Name property.

NamedSelection

Gets or sets the NamedSelection.

NodeMovementTolerance

NodeMovementTolerance property.

NumberOfWasherDivisions

NumberOfWasherDivisions property.

NumberOfWasherLayers

NumberOfWasherLayers property.

ObjectId

ObjectId property.

ObjectState

ObjectState property.

ObjectTags

ObjectTags property.

Parent

Parent property.

Properties

Gets the list of properties for this object.

ScopingMethod

Gets or sets the ScopingMethod.

State

State property.

Suppressed

Gets or sets the Suppressed.

VisibleProperties

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

WasherAutoDefeature

WasherAutoDefeature property.

WasherDefeatureProximityTolerance

WasherDefeatureProximityTolerance property.

WasherLayerHeight

WasherLayerHeight property.

WasherMethod

WasherMethod property.

WasherType

WasherType property.

Property detail#

property Washer.AllowNodeMovement: bool | None#

Gets or sets the AllowNodeMovement.

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.FactorOfDiameter: float | None#

FactorOfDiameter property.

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

Gets the list of associated figures.

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

GroupingFolder property.

property Washer.GrowthRate: float | None#

GrowthRate property.

property Washer.IconName: str | None#

IconName 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.LayerHeight: Ansys.Core.Units.Quantity | None#

LayerHeight property.

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.MinimumNumberOfWasherDivisions: int | None#

MinimumNumberOfWasherDivisions property.

property Washer.Name: str | None#

Name property.

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

Gets or sets the NamedSelection.

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

NodeMovementTolerance property.

property Washer.NumberOfWasherDivisions: int | None#

NumberOfWasherDivisions property.

property Washer.NumberOfWasherLayers: int | None#

NumberOfWasherLayers property.

property Washer.ObjectId: int | None#

ObjectId property.

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

ObjectState property.

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

ObjectTags property.

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

Parent property.

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

Gets the list of properties for this object.

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

Gets or sets the ScopingMethod.

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

State property.

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.WasherDefeatureProximityTolerance: Ansys.Core.Units.Quantity | None#

WasherDefeatureProximityTolerance property.

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

WasherLayerHeight property.

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

WasherMethod property.

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

WasherType 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.CreateObjRef(requestedType: type) System.Runtime.Remoting.ObjRef#

CreateObjRef method.

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.Equals(other: Ansys.Mechanical.DataModel.Interfaces.IDataModelObject) bool#

Equals method.

Washer.GenerateMesh() None#

Generate the Mesh.

Washer.GetAPIName(dispId: int) str#

Property name bound to dispId.

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

GetAllProperties method.

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

Gets the list of children, filtered by type.

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

Enum name bound to value

Washer.GetHashCode() int#

GetHashCode method.

Washer.GetIconFile() System.Byte#

GetIconFile method.

Washer.GetLifetimeService() Any#

GetLifetimeService method.

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

GetObjectData method.

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

Gets the parameter corresponding to the given property.

Washer.GetPath() str#

GetPath method.

Washer.GetPropertyName(dispId: int) str#

GetPropertyName method.

Washer.GetPropertyValue(name: str) Any#

GetPropertyValue method.

Washer.GetType() type#

GetType method.

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

GetVisibleProperties method.

Washer.GetVisiblePropertyNames() List[str]#

GetVisiblePropertyNames method.

Washer.GroupAllSimilarChildren() None#

Run the GroupAllSimilarChildren action.

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

Run the GroupSimilarObjects action.

Washer.InitializeLifetimeService() Any#

InitializeLifetimeService method.

Washer.IsPropertyEditable(dispId: int) bool#

IsPropertyEditable method.

Washer.IsPropertyVisible(dispId: int) bool#

IsPropertyVisible method.

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

PropertyById method.

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.

Washer.ToString() str#

ToString method.