units#
- property Information.units: UnitsDict#
Retrieve the units from the MAPDL instance.
- Returns:
UnitsDictA dictionary-like object containing the units from the MAPDL instance. Supports both full names (e.g., ‘LENGTH’) and short names (e.g., ‘l’) with case-insensitive access. Printing the object returns the original formatted string.
Examples
>>> mapdl.info.units['CHARGE'] 'coulomb' >>> mapdl.info.units['Q'] 'coulomb' >>> mapdl.info.units['length'] 'meter' >>> print(mapdl.info.units) MKS UNITS SPECIFIED FOR INTERNAL LENGTH (l) = METER (M) MASS (M) = KILOGRAM (KG) ...