Current Working Units Initialization
- Last UpdatedFeb 19, 2025
- 1 minute read
Current units are set on session start. Their configuration is dependent on the setting of the BUNIT and DUNIT attributes in the first UNIT element found in a catalogue database in the MDB.
The value of the BUNI and DUNI are used for setting BORE and DISTANCE current working units. The BUNI value is applied to current BORE units (one of MM, INCH or FINCH) and the DUNI value is the current DISTANCE unit (any distance standard unit including MM, INCH or FINCH).
The setting of DUNI also determines which of imperial or metric units are to be generally used.
Some physical quantities will be initialized to use their database unit regardless of imperial or metric DUNI settings (e.g. angles, voltages, and current, time, power).
The current working units of most other quantities are directly dependent on (for example, DERIVED from) the setting of the current distance unit (and sometimes current units of other quantities. For example, Area, Volume, Surface and Linear Density, Content, Temperature gradient.
Some quantities have special initial imperial or metric settings applied which are dependent on whether the distance unit is imperial or metric
-
Mass will be kg or lb
-
Temperature will be degC or degF
-
Pressure will be pascal or PSI
-
Force will be newton or lbf
-
Density will be kg/m3 or lb/ft3
-
Unit mass will be kg/distance or lb/distance