A rule template acts on the BOM located in the same template library. Before you edit rule templates, you need to specify the classes that will appear in the BOM.
The Template Editor has the same functionality as the Rule Editor with additional operations for marking text tokens as noneditable and metatokens (blue arrows) as disabled. To make tokens noneditable:
-
Right-click the tokens in the rule template to access the shortcut menu, which includes two extra items for template editing:
-
Freeze
to mark text tokens as noneditable and metatokens as disabled.
-
Unfreeze
to mark text tokens as editable and metatokens as active.
An example is shown in Figure 3.29:
Figure 3.29 Freezing a Text Token in MyTemplate
-
When you mark a text token as frozen, its contents can no longer be changed in the rules created from this rule template, as shown in Figure 3.30. In this example, the token
Action.Holds
has been frozen.
-
When you mark a metatoken as frozen, it is frozen in all the rules created from this rule template.
-
Figure 3.30 Frozen Text Token in a Rule Created with MyTemplate
Note |
Modifying a rule template has no impact on rules previously created from this template. The rule template applies only when you create a new rule. |
See Also
Rule Editor Shortcuts
|