GetDefaultUnit
Returns the default unit for a physical quantity.
| UI Access |
Tools > Options > General Options > Default Units. Note that this menu only displays units that can be changed, while the script can be used to view additional default units. |
||||||
| Parameters |
|
||||||
| Return Value |
String containing the default unit (for example, "mm"). |
| Python Syntax | GetDefaultUnit(<type>) |
| Python Example |
oDesktop.GetDefaultUnit("Length") |