Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Everything E3D

Database Units

  • Last UpdatedAug 17, 2023
  • 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 PML function which is calculating the dimensioned pseudo attribute value.