MechanicalUnitSystem#

class ansys.mechanical.stubs.v261.Ansys.ACT.Interfaces.Common.MechanicalUnitSystem#

Bases: object

Contains all possible mechanical unit systems (standard and consistent). The standard unit systems are used in the mechanical UI. (From the toolbar menu “Unit”). Be aware that the standard unit systems are NOT consistent. The consistent unit systems are mostly used in the solver.

Overview#

Equals

Specifies whether this instance of MechanicalUnitSystem is equal to the given MechanicalUnitSystemEnum value.

GetConsistentUnitSystem

Gets the consistent unit system (i.e. solver unit system.)

GetHashCode

GetHashCode method.

GetMechanicalUnitSystemType

Get the MechanicalUnitSystemEnum for this MechanicalUnitSystem

GetType

GetType method.

ToString

ToString method.

IsConsistent

IsConsistent property.

Property detail#

property MechanicalUnitSystem.IsConsistent: bool | None#

IsConsistent property.

Method detail#

MechanicalUnitSystem.Equals(mechanicalUnitSystemType: Ansys.ACT.Interfaces.Common.MechanicalUnitSystemEnum) bool#

Specifies whether this instance of MechanicalUnitSystem is equal to the given MechanicalUnitSystemEnum value.

MechanicalUnitSystem.GetConsistentUnitSystem() Ansys.ACT.Interfaces.Common.MechanicalUnitSystem#

Gets the consistent unit system (i.e. solver unit system.)

MechanicalUnitSystem.GetHashCode() int#

GetHashCode method.

MechanicalUnitSystem.GetMechanicalUnitSystemType() Ansys.ACT.Interfaces.Common.MechanicalUnitSystemEnum#

Get the MechanicalUnitSystemEnum for this MechanicalUnitSystem

MechanicalUnitSystem.GetType() type#

GetType method.

MechanicalUnitSystem.ToString() str#

ToString method.