You specify macros in your title block by adding SmartText and defining the appropriate macro in the user properties. The following list summarizes the macros available for use in enhanced report title blocks (where a macro name appears in parentheses, the main name is the macro alias while the name in parentheses is the actual database name).
General
Name |
Description |
---|---|
plant_name or plnt_name |
Plant name |
plant_UDF_C01 (up to C20) |
Plant UDF |
area_name |
Area name |
area_UDF_C01 (up to C20) |
Area UDF |
sub_area_name |
Sub-area name |
unit_name |
Unit name |
unit_num |
Unit number |
unit_note |
Note added for unit |
unit_UDF_C01 (up to C20) |
Unit UDF |
city |
City where plant is located |
location |
Location of plant |
owner (owner_name) |
Owner name |
domain_name (proj_name) |
Domain name |
domain_desc (proj_desc) |
Domain description |
eng_proj_name or proj_name (engineer_name) |
Project name |
eng_proj_desc or proj_desc (engineer_desc) |
Project description |
date |
Date of drawing generation |
time |
Time of drawing generation |
-
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.
Loop
Name |
Value |
Description |
---|---|---|
loop_name |
Loop name |
|
loop_serv |
Loop service |
|
loop_note |
Loop note |
|
ref_name |
1..5 |
Loop drawing reference name (for revisions 1 to 5) |
ref_desc |
1..5 |
Loop drawing reference description (for revisions 1 to 5) |
Strip & Panel
Name |
Description |
---|---|
panel_name |
Panel name |
panel_note |
Panel note |
strip_name |
Strip name |
Segment & Profibus
Name |
Description |
---|---|
group_name |
Segment name |
Signal_note |
Segment note |
Telecom Line
Name |
Description |
---|---|
line_name (tc_line_number_name) |
Telecom line name |
Telecom Class
Name |
Description |
---|---|
class_name (tc_net_cls_name) |
Telecom class name |
Telecom Speaker
Name |
Description |
---|---|
cmpnt_name |
Telecom speaker name |
cmpnt_note |
Telecom speaker note |
Cable
Name |
Description |
---|---|
cable_name (cable_num) |
Cable name |
cable_note |
Cable note |
Cable Harness
Name |
Description |
harness_name (cable_harness_name) |
Cable harness name |
Location
Name |
Description |
location_name (panel_loc_name) |
Panel location |
Rack
Name |
Description |
---|---|
rack_name (cabinet_rack_name) |
Cabinet rack name |
Hook-Up
Name |
Description |
---|---|
hu_name |
Hook-Up name |
gen_output_file |
Hook-Up output file name |
hu_udf_c01 (up to C20) |
Hook-Up user defined fields |
hu_type_desc |
Hook-Up description |
plant_UDF_C01 (up to C20) |
Plant UDF |
Drawing
Name |
Value |
Description |
---|---|---|
dwg_name |
Drawing name |
|
dwg_desc |
Drawing description |
|
dwg_num |
Drawing number |
|
plant_UDF_C01 (up to C20) |
Plant UDF |
|
cl_ck_by or cl_chk_by |
Client checked by |
|
cl_ck_date or cl_chk_date |
Client checked date |
|
cl_engr_by |
Client engineered by |
|
cl_engr_date |
Client engineered date |
|
cl_appr_by |
Client approved by |
|
cl_appr_date |
Client approved date |
|
ven_appr_by |
Vendor approved by |
|
ven_appr_date |
Vendor approved date |
|
ven_chk_by or ven_ck_by |
Vendor checked by |
|
ven_ck_date or ven_chk_date |
Vendor checked date |
|
ven_drwn_by |
Vendor drawn by |
|
ven_drwn_date |
Vendor drawn date |
|
ven_dsgn_by |
Vendor design by |
|
ven_dsgn_date |
Vendor design date |
|
ven_prop_by |
Vendor proposed by |
|
ven_prop_date |
Vendor proposed date |
|
loop_func (loop_func_name) |
Loop function |
|
dwg_udf_c01... - ...dwg_udf_c102 |
Drawing user- defined character fields |
|
loop_udf_c01... - ...loop_udf_c50 |
Loop user-defined character fields |
|
curr_rev_name |
P1 |
Current revision name |
curr_rev_number |
1,2,3 and so forth |
Current revision number The current revision number as retrieved from the Revision ID column of the table. |
pid_name |
P&ID drawing name |
|
Sheetno |
Current sheet number |
|
Sheettotal |
Total number of sheets |
|
Sheetcount |
<sheet_no> of <sheet_total> |
Revisions
These macros have the structure [Macro_name.x.f1] where x 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).
Name |
Value |
Description |
---|---|---|
dwg_rev_num or rev_no |
1..5 |
Drawing revision number (for revisions 1 to 5) |
dwg_rev_desc or rev_desc |
1..5 |
Drawing revision description (for revisions 1 to 5) |
dwg_rev_date or rev_date |
1..5 |
Drawing revision date (for revisions 1 to 5) |
curr_rev_num |
1,2,3 and so forth |
Current revision number The current revision number as retrieved from the Revision ID column of the table. |
curr_rev_name |
P1 |
Current revision name |
rev_create_by or rev_drawn_by |
1..5 |
Revision created by (for revisions 1 to 5) |
rev_sign |
1..5 |
Revision signed by (for revisions 1 to 5) |
rev_chk_by |
1..5 |
Revision checked by (for revisions 1 to 5) |
rev_appr_by |
1..5 |
Revision approved by (for revisions 1 to 5) |
rev_udf_c01... - ...rev_udf_c20 |
Revision user-defined character fields |