14.3. Adding a New Quantity

Engineering Knowledge Manager

Administration Guide | Chapter 14: Units: Defining and Configuring Using XML |

14.2. Adding a New Unit |  | 14.4. Adding a New Unit System
Prev |  | Next

## 14.3. Adding a New Quantity

You can add a new quantity to `Units.xml` by doing the following:

- Add a new `quantity` element to the units/quantities element. This element must have an attribute `name` that holds the value of the quantity’s name and contains a list of child unit elements. See Figure 14.3: Quantity and Unit Definition for a sample `quantity` listing.

- Add the `quantity` to the various `unitSystem` elements. This is used to specify the unit to be used for that quantity in each unit system. See Figure 14.4: Unit System for an example of quantity elements within a `unitSystem` element.

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Prev | Up / Contents | Next

Release 18.2 - © ANSYS, Inc. All rights reserved.