MechanicalUnitSystem#

class ansys.mechanical.stubs.v242.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#

GetConsistentUnitSystem

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

GetMechanicalUnitSystemType

Get the MechanicalUnitSystemEnum for this MechanicalUnitSystem

Method detail#

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

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

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

Get the MechanicalUnitSystemEnum for this MechanicalUnitSystem