This topic lists and describes macros used in a loop drawing title block.
Macro Name |
Description |
---|---|
dwg_name |
Document number |
dwg_desc |
Drawing description |
Revisions
These macros have the structure [MACRO_NAME.XX.F1] where XX is the revision number (in a default title block with 5 rows, the last 5 revisions are displayed), and F1 is the abbreviation for a user-defined function (optional).
Macro Name |
Description |
---|---|
dwg_rev_num |
Drawing revision number |
dwg_rev_desc |
Revision description |
rev_drawn_by |
Revision by |
rev_appr_by |
Approved by |
rev_chk_by |
Checked by |
dwg_rev_date |
Revision approval date |
curr_rev_num |
Current revision number The current revision number as retrieved from the Revision ID column of the table. |
curr_rev_name |
Current revision name. |
Approvals
Macro Name |
Description |
---|---|
ven_prop_by |
Proposed by (vendor) |
ven_prop_date |
Proposal date (vendor) |
ven_dsgn_by |
Designed by (vendor) |
ven_dsgn_date |
Designed date (vendor) |
ven_drwn_by |
Drawn by (vendor) |
ven_drwn_date |
Drawn on date (vendor) |
ven_ck_by |
Checked by (vendor) |
ven_ck_date |
Check date (vendor) |
ven_appr_by |
Approved by (vendor) |
ven_appr_date |
Approval date (vendor) |
cl_ck_by |
Checked by (client) |
cl_ck_date |
Check date (client) |
cl_engr_by |
Instrument Eng. check (client) |
cl_engr_date |
Inst. Eng. check date (client) |
cl_appr_by |
Approved by (client) |
cl_appr_date |
Approval date (client) |
Document References
You can display references to documents in the title block using the macros REF_NAME and REF_DESC. It is possible to retrieve to the loop up to ten references.
To extract the references, use the formats:
[REF_NAME.XX.F1] to get the document number, and [REF_DESC.XX.F1] to get the document description. The XX segment denotes a two digit number ranging from 1 to 10 and F1 is the abbreviation for a user-defined function (optional).
If you have more than one document number, in the title block, the software sorts the document numbers by name and displays them in ascending order. For example, if you have document numbers Document A, Document C, Document B, and Document A1, the software sorts them as follows:
Document A, Document A1, Document B, Document C
If you need to display only a specific document number , in the macro name REF_NAME.XX.F1, substitute the XX segment with 01 to display the first number sorted by name, 03 to display the third number, and so forth.
Drawing Generation Time and Date
Macro Name |
Description |
---|---|
date |
Date of generation |
time |
Time of generation |
User Defined Macros
Macro Name |
Description |
---|---|
plant_UDF_C01 |
Plant User Defined Fields (UDF) |
area_UDF_C01 |
Area UDF |
unit_UDF_C01 |
Unit UDF |
-
Up to 20 macros of each type can be used in a title block by adding the suffix _C01, _C02, _C03, and so forth.
-
Only the Plant UDF macro can be used in the Hook-Up and Drawing title blocks, the Area and Unit UDF macros do not function in Hook-Up and Drawing title blocks.