FAQ: How can I define the units and precision for a single label?

In Advance Steel the units are defined for each model, drawing and list. This means that a drawing contains a certain setting for the units and precision. There are certain cases where it is necessary to have a different precision or unit setting for a single item. This is possible in Advance Steel by defining, for just a label, a different unit and precision setting. To do this, you need to add a [1,2,3] to the token, for example, for a %Length token it has to look like %[1,2,3]Length while the 1, 2, 3 must be replaced by the required keys from the unit tables in AstorBase.

The first number is the unit key from the tables in the AstorBase database starting with UnitOf... (e.g., for a distance it is from UnitsOfDistance). The second number is the unit type from the UnitsType table in the AstorBase database. The third number is the unit precision from the UnitsPrecision table in the AstorBase database In the above example we used [3,3,1], which means: Key 3 from the AstorBase database UnitsOfDistance table: Millimeter.

Key 3 from the AstorBase database UnitsType table: Decimal.

Key 1 from the AstorBase database UnitsPrecision table: no decimals.

Even with the model units set to display 2 decimals (2643.68) we can have a shown length rounded to full millimeters (2644).