Defining the Autotagging Hierarchy and Rules
- Last UpdatedDec 09, 2025
- 1 minute read
A typical sequence of commands for setting up an autotagging hierarchy would be:
|
NEW TRLB |
|
|
NEW TRST |
|
|
NEW TAGR /TR1 |
|
|
TMRF /LAB1 |
define Label appearance by setting template reference attribute to point to existing GLAB, SLAB, SYTM or TXTM |
|
IDLN /ID6 |
define elements to be labelled by setting Id List name attribute to point to existing Id List [or Design] element. [Set to /* by default.] |
Note: If the TMRF attribute is set to reference a GLAB or SLAB (as opposed to a TXTM or SYTM) than that GLAB or SLAB must not have been generated by a Tag Rule.
Having constructed the hierarchy and set up the necessary references, the items to be tagged are defined by the TAG command, which applies to those elements defined by the IDLN setting. Examples of the use of the TAG command are:
TAG ALL NOZZ
TAG ALL BRAN MEM TAG (ALL VTWA ALL VFWA ALL VALVE) WI (STYP EQ ’GATE’ AND ABORE GE 80)
TAG ALL WI (CREF NE =0)
The TAG command has the same syntax as the USE style_name FOR command. See Representation Rules and section Creating Labels and Label Text in Part 1, Basic Drawing Creation & Output for more examples.
The CRIT attribute for the current tag rule can be set explicitly.
|
Example: |
|---|
|
CRIT ALL BRAN WI (HBOR LE 80 OR TBOR LE 80) |