Specify rules to select graphic layers
- Last UpdatedJan 31, 2025
- 3 minute read
A default rule is assigned to each layer based on the choice group/choice pair. In the example of the centrifugal pump Symbol Wizard, the Orientation choice group layer rules map directly to Wizard Options choices. Selecting an Orientation option displays the graphic elements of the selected layer in the pump’s configuration.

Modify the default layer rules to show or hide the tachometer. In the case of the Left or Right pump orientation, we recommend that the layer rules select the appropriate Orientation layer and tachometer layers. The TachLeft and TachRight layer rules include an AND statement that selects the tachometer and the Symbol Wizard’s pipe orientation:
TachLeft: Orientation.Left&HasTach.True
TachRight: Orientation.Right&HasTach.True
The layer rule to select the Top and Bottom Orientation configurations with a tachometer is more complex because the position of the tachometer is the same in both orientations. The TachTop layer rule includes separate Top and Bottom compound expressions joined with an OR statement.
(Orientation.Top&HasTach.True)|(Orientation.Bottom&HasTach.True)
Using Symbol Wizard Preview, verify each set of layer rules defines only a single unique Symbol Wizard configuration. Rule errors become apparent when a Symbol Wizard includes elements from other configurations, or elements are missing.
|
Symbol Wizard configuration |
Wizard options and corresponding active configuration layer rules |
|---|---|
|
|
|
|
Orientation.Left&HasTach.False |
|
|
|
|
|
Orientation.Left&HasTach.True |
|
|
|
|
|
Orientation.Right&HasTach.False |
|
|
|
|
|
Orientation.Right&HasTach.True |
|
|
|
|
|
Orientation.Top&HasTach.False |
|
|
|
|
|
(Orientation.Top&HasTach.True)|(Orientation.Bottom&HasTach.True) |
|
|
|
|
|
Orientation.Bottom&HasTach.False |
|
|
|
|
|
(Orientation.Top&HasTach.True)|(Orientation.Bottom&HasTach.True) |
|
Rule Tips
-
Symbol Wizard rules are evaluated simultaneously. Place parentheses around compound expressions, which are evaluated before other operators outside of parentheses in a rule.
-
Rules cannot reference a Choice Group alone. Always write rule expressions that reference Choices within a Choice Group in a hierarchical manner: ChoiceGroup.Choice.
-
Use operator characters (&, |, !) rather than Boolean keywords (AND, OR, and NOT) to save space when writing rules. Using operator characters reduces the likelihood that a long rule will extend beyond the borders of the Rule field.














