Database Units
- Last UpdatedMay 24, 2022
- 1 minute read
For efficiency and consistency all attributes, whether real or pseudo, are handled by the same code within product whenever possible. Dimensioned attribute whose values are stored in the Engineering Database are always returned in Database Units, and this fact is utilized within the attribute handling code. It is therefore essential that dimensioned pseudo attributes are returned in Database units. This can be achieved simply by having:
!result = !value.dbunits()
return !result
as the last two lines of any Programmable Macro Language (PML) function which is calculating the dimensioned pseudo attribute value.