DRAW Reference Manual
Intelligent Text
: Transform Position/Direction Data
Transform Position/Direction Data
If qualified by a transform keyword, position and direction attributes are reported in the coordinate system of the specified element. The qualifier can be used with any position or direction codeword, including those for p-points, P-lines and Structural derived attributes.
The qualifier uses the keyword WRT (‘with respect to’) to denote the coordinate system to be used. Lower case as wrt is also allowed; minimum abbreviation is W (or w).
WRT must be followed by a single parameter to define the coordinate system required. The parameter can be a word or name that specifies a Design element.
If a name is used, it must not contain the comma (,) or closed angle-bracket (>) characters. For example:
#P1POS<WRT /1201A>
The position of p-point 1 of the DDNM element is output with respect to element /1201A. The word parameter can either define an element type or a reference attribute, for example:
#POS<WRT ZONE>
#POSU<WRT OWNE>
If an element type is specified, it must refer to an owner of the Design element specified in the DDNM attribute, this can be the immediate owner or an element in the database hierarchy above the DDNM element.
If a reference attribute is specified, it must refer to a reference attribute of the DDNM element, for example OWNE or CREF. The reference attribute can also be a UDA
<WRT OWNE>
<WRT HREF>
<WRT :
uda
>
Individual components of reference array attributes can also be used:
<WRT CRFA[3]>
<WRT :UDARR[2]>
The default coordinate system is the Design World, for example, the implied syntax is:
<WRT WORL>
The qualifier ‘CE’ must be used to refer to the coordinate system of the current element. For example, to report the position of P3 of a Box with respect to the Box origin:
#P3POS<WRT CE>
Only position, direction, displacement and orientation codewords can have transform qualifiers. Some P-line and p-point attributes are included.
When outputting a qualified position in +/- format, the ‘+’ must display before the qualifier, for example:
#P1POSU+<WRT /DATUM>
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.