DRAW Reference Manual
Intelligent Text
: Accessing Data from the DRAW Database
Accessing Data from the DRAW Database
All DRAW (PADD) attributes are accessible. For example, attribute ABCD of the current annotation element would be accessed by code #ABCD. In addition the name of any DRAW element can be accessed. For example:
#VIEW
The name of the View owning the annotation element
#DRWG
The name of the Drawing owning the annotation element
Attributes of other DRAW elements can be accessed using the FROM qualifier. For example:
#AUTH<FROM DRWG>
Generates the Author of the Drawing owning the annotation elements. Refer to
Extracting Attribute Data from any Specified Element
for full details of the FROM qualifier.
AVEVA E3D™
pseudo-attributes
may be accessed in the same manner.
A single integer qualifier may be specified to attributes that require them using the optional ^ delimiter.
The following special codewords are also available:
#DTITL
Drawing title, equivalent to #TITL<FR DRWG>
#STITL
Sheet title, equivalent to #TITL<FR SHEE>
#VTITL
VIEW title, equivalent to #TITL<FR VIEW>
Special functionality is provided for the following codewords that extract revision data:
#APPR
Approve
#APDT
Approval date
#RVSN
Revision
#RVDT
Revision date
#RVAU
Revision author
These codewords extract their data from the first REVI element in the Sheet’s list. If the qualifier <FR DRWG> is appended then data will be extracted from the first REVI element in the Drawing’s list. To extract data from a specific REVI element a qualifier should be used. The REVI element can be specified by name, for example:
#RVAU<FR/REV3>
or the pseudo-reference array attributes SREVAY and DREVAY can be used. For example:
#RVDT<FR SREVAY[2]>
Generates the revision date from the sheet's second revision
#APPR<FR DREVAY[3]>
Generates the approver from the drawing's third revision
Refer to
Drawing Revisions
for further information about the SREVAY and DREVAY attributes.
Refer to
Extracting Attribute Data from any Specified Element
for further information about the FROM qualifier.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.