Access Data from the Draw Database
- Last UpdatedMar 02, 2026
- 2 minute read
All Draw (PADD) attributes are accessible. For example, attribute ABCD of the current annotation element can 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. The FROM qualifier is described. See Extract Attribute Data from any Specified Element for further information. |
AVEVA E3D Design pseudo-attributes can be accessed in the same manner.
A single integer qualifier can be specified to attributes that require them using the optional ^ delimiter.
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 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 is extracted from the first REVI element in the Drawing’s list. To extract data from a specific REVI element a qualifier can 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 |
|
#RVSN<FR SREVAY[-1]> |
Generates the revision from the sheet's last revision |
|
#APDT<FR DREVAY[-2]> |
Generates the approval date from the drawing's second from last revision |
The SREVAY and DREVAY attributes are described. See Drawing Revisions for further information.
The FROM qualifier is described. See Extract Attribute Data from any Specified Element for further information.