DRAW Reference Manual
Intelligent Text
:
Distance, Position and Bore Data Output
: Mixed Units within Intelligent Text Strings
Mixed Units within Intelligent Text Strings
The units used in intelligent text strings are determined by the UCOD attribute of the owning LAYE. However, it is possible to insert a ‘switch units’ code in the text string, which will cause all distances and bores which follow to be output in ‘alternate’ units, as defined below.
Layer Units
Alternate Units
UCOD INCH DECI
MM
UCOD INCH PDMS
MM
UCOD INCH US
MM
UCOD FINCH PDMS
MM
UCOD FINCH US
MM
UCOD MM
INCH DECI
UCOD CM
INCH DECI
UCOD METRE
INCH DECI
The ‘switch units’ code is
%U
so, for example, to generate a dimension in both Imperial and metric units, with the second value in brackets, the intelligent text string:
’#DIM() %U(#DIM())’
should be used. The units may be switched back to the standard units by a subsequent use of a %U code.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.