There are certain cases when it is necessary to have a different precision or unit setting for a single item. This is possible in Advance Steel by defining specific unit and precision settings for just one label.
For example, if you need to modify the %Width token for a plate to show the value in inch only (no feet), but keep the other tokens to show the values in both feet and inches, you need to modify the Plate name default in the Management Tools to display the desired settings.
To do this, you need to add a specific sentence, in the form of [1,2,3] to the token definition. For example, the %Width token has to be in the %[1,2,3]Width form, while the generic 1, 2, 3 must be replaced with the required keys from the unit tables in the AstorBase database to define the specific unit settings to be used.
In the following image, the Width and Length values are shown in feet and inches:
In this example, the Plate name will be modified to show the width values only in inches (no feet), while the rest of the values will remain in both feet and inches.
To do this, perform the following steps:
In the Property Value field type
PL %Thicknessx%[20,5006,474]Width"x%Length
To find out the keys you need to include in the "[ ]", open Management Tools Open ODBC and browse AstorBase:
The first number between “[ ]” 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 in the AstorBase database:
The third number is the unit precision from the UnitsPrecision table in in the AstorBase database:
Now, in the detail drawing, the Width is shown only in inches, while the Length is still shown in both feet and inches: