Units in Real Expressions
- Last UpdatedOct 24, 2022
- 1 minute read
Real expressions evaluate to a real and a resultant dimension (physical quantity or measure). For example:
-
Adding two distances together create a distance (or length) quantity.
-
Multiplying two distances creates a quantity of area.
Functions require compatible units, for example, trigonometric functions will expect to operate on angles.
If a pure numeric is supplied instead of a physical quantity then it must be a compatible physical quantity (for example, SIN(!ANGLE) or !DIST +!DIST) then it will be assumed to be of that quantity and in current working units of that quantity. Otherwise, it will be simply taken to be a number.
The result of the expression will be returned in current working units of the dimensions (for example, 1meter + 10cm will return 1100mm when current distance units are mm).