DRAW Reference Manual
Intelligent Text
: Access Dimension Data
Access Dimension 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 display alone in a text attribute, for example, BTEX ’#DEF’ is valid, ’name #DEF’ is not.)
#DIR
Projection line direction (of ADIR)
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 is output, for example, exactly the same result as #DIMPOSN. If the Dimension Direction is not orthogonal, the full 3D position is output (for example, as 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 can be used in conjunction with the WRT qualifier to generate relative positions. Refer to
Transform Position/Direction Data
for further information.
At a DPOI which has POS and optionally DDNM attributes set, #POS always obtain data from the element referenced by DDNM. #POS only obtains data from the POS attribute setting if DDNM = 0/0. Hence you must always use #DIMPOS to generate the coordinates of DPOI elements.
The 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 can be used with this codeword.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.