Creating and Setting Up Tag Rules
- Last UpdatedNov 21, 2025
- 3 minute read
The lower part of the Tagging Library form contains all of the gadgets necessary to create TAGRs, to define the types of element to which they are to be applied, and to set references to the templates which control the format of the associated tags.

Viewing Tag Rules
The Rule drop-down list displays a list of all TAGRs in the current TRST (that means, the TRST highlighted in the Tag Ruleset list). It is also used to change the current TAGR if you wish to modify its attribute settings.
Creating a Tag Rule
Notes: Tag Rules are always named automatically when they are created. You cannot change
the name.
The attribute values for the newly created TAGR are defined by the current settings
of the other gadgets on the form (Tag, With, Template Reference), so set these as explained in the following paragraphs before you create the TAGR.
-
To create a new TAGR, click the Create Rule button.
The TAGR will be named automatically and its name will be added to the Rule option button list as the current selection.
Deleting a Tag Rule
-
To delete a TAGR from the current TRST, make the TAGR current (by using the Rule drop-down list).
-
Click the Delete Rule button.
Specifying the Elements to which Rules Apply
You can specify the type of element or a list of named elements, as follows:
-
To specify the type of element to which the current TAGR is to be applied, select a design element class from the Tag drop-down list.
Criteria for Tag Rule Application
-
To apply restrictions to the elements specified by the Tag option, type a PDMS expression into the With text box.
For example, if the Tag gadget specifies Branches, you might use the With qualifier to enter ‘(HBOR GT 100) AND (TBOR GT 80)’ to compile the overall specification ‘Branches with HBOR greater than 100 mm and TBOR greater than 80 mm’.
Associating a Label Template with a Tag Rule
-
To select a label template that will define the appearance of tags generated by the current TAGR, use the Template Reference Select button.
You will be presented with a Select Template for Auto Tagging form.
-
On this form, select the Label Library required.
-
From the displayed templates, pick the one which is to be associated with the current TAGR.
-
Apply the template to the current TAGR.
Associating a Drawlist with a Tag Rule
-
To specify a drawlist which is to be associated with the current TAGR (such that only items in the drawlist will be tagged), click the Drawlist Reference button.
You will be presented with a Drawlist Reference form.
-
On this form, select the Drawlist Library required.
-
From the displayed list, pick the drawlist which is to be associated with the current TAGR
-
Apply the drawlist to the current TAGR.
-
To modify the content of the drawlist associated with the current TAGR, click the Drawlist button.
You will be presented with a Drawlist Management form.
-
On this form, select the drawlist whose member list is to be modified and add or remove design elements.
-
Apply this drawlist to the current TAGR in the usual way. Apply the changes to the current TAGR.