Specifies the unit of measure for a text box property value. This value must match the stored value in the .xml template. The software uses the UOM node with the TYPE attribute.
In the following example, the UOM TYPE is Length, and the value is stored as meters in the template .xml file.
<UOM TYPE="Length">Meter</UOM>
Regardless of the UOM TYPE specified for a property in the schema, you can declare any unit that you want in the Rule Manager. However, when you click Save, the Rule Manager translates the value that you specify into the required unit of measure declared as the value of the <UOM> node.
The TYPE attribute helps the software determine how to treat and display property values. For example, if you type a length value of 4 deg, the software determines that you specified an incorrect unit.
The following table shows the supported UOM type and value pairs.
UOM TYPE |
UOM VALUE |
SCHEMA XML |
Length |
Meter |
<UOM TYPE="Length">Meter</UOM> |
Length |
Millimeter |
<UOM TYPE="Length">Millimeter</UOM> |
Angle |
Degree |
<UOM TYPE="Angle">Degree</UOM> |
Angle |
Radian |
<UOM TYPE="Angle">Radian</UOM> |
UOM exists as a child node of the POSSIBLE_VALUES node:
<POSSIBLE_VALUES>
<UOM TYPE="Angle">Degree</UOM>