Adding or Modifying Units Symbols and Conversion Factors
If the units symbols and conversion factors provided with your
Windchill solution (see
Windchill Pure Units for a complete list) do not meet your business needs, you can add an entry or modify the existing entries. This is achieved by using the
xconfmanager tool to update the
site.xconf file, which ensures that your additions or modifications are preserved when you update or upgrade your
Windchill solution.
From a Windchill shell, enter the following command:
xconfmanager -s "<symbol>=<conversion factor> <units>" -t codebase/wt/units/pureSymbol.properties -p
where:
• <symbol> is the new unit symbol to be added, or the existing unit symbol to be modified
• <conversion factor> is expressed with a period symbol (.) as the decimal separator with the number of digits places specified, up to fourteen, indicating how precise the conversion factor is. Out-of-the-box conversion factors are displayed in the Value column of the
Pure Units table.
For example, to add a new symbol shakeOfaLambsTail which is equal to 45 seconds with a precision of three decimal places, you would enter the following command:
xconfmanager -s "shakeOfaLambsTail=45.000 s" -t codebase/wt/units/pureSymbol.properties -p