Define the Autotag Hierarchy and Rules
- Last UpdatedApr 27, 2023
- 1 minute read
A typical sequence of commands for setting up an autotagging hierarchy is:
|
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) then 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. Refer to Representation Rules and Create and Manipulate Labels for further information.
The CRIT attribute for the current tag rule can be set explicitly.
Example
CRIT ALL BRAN WI (HBOR LE 80 OR TBOR LE 80)