DRAW Reference Manual
Intelligent Text
: Accessing Dimensioning Data
Accessing Dimensioning Data
Codewords that are allowed values for the Dimension Line Text (DMTX) and Projection Line Text (PLTX) of Angular and Linear Dimensions (ADIM and LDIM) and Dimension Points/Directions (ADIR, APPT, DPOI, DPPT, DPBA) and have special meanings:
#DIM
Calculated dimension value (DMTX or PLTX)
#DEF
Use default text string supplied by owning ADIM or LDIM (Must appear alone in a text attribute, e.g BTEX ’#DEF’ is valid, ’name #DEF’ is not.)
#DIR
Projection line direction (of ADIR)
The following codewords are valid in the PLTX of LDIMs and their members, and cause the 3D Dimension Point position to be generated in World coordinates.
#DIMPOS
3D position
#DIMPOSE, #DIMPOSN, #DIMPOSU
Easting, Northing, Upping, respectively
#DIMPOSDD
Coordinate in the Dimension Direction of the 3D Dimension Point position
For example, if the Dimension Direction is North, the Northing of the Dimension Position will be output - i.e. exactly the same result as #DIMPOSN. If the Dimension Direction is not orthogonal, the full 3D position will be output (i.e. as would be generated by #DIMPOS) together with error message
64,399: /ldim-name: Dimension direction not orthogonal, so unable to calculate single coordinate for codeword #DIMPOSDD
These codewords may be used in conjunction with the WRT qualifier (refer to
Transforming Position/Direction Data
for further information) to generate relative positions.
At a DPOI which has POS and optionally DDNM attributes set, #POS will always obtain data from the element referenced by DDNM. #POS will only obtain data from the POS attribute setting if DDNM = 0/0. Hence you should always use #DIMPOS to generate the coordinates of DPOI elements.
The following codeword is valid in the PLTX of ADIMs and their members, and causes the 3D Dimension Point direction to be generated in World coordinates.
#DIMDIR 3D direction
No qualifiers may be used with this codeword.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.