Element Rules Window
- Last UpdatedAug 14, 2025
- 2 minute read
To create a new rule or modify an existing one, click Element Rules to display the Define Rules window.

|
Location |
Rules can be located in several areas. Dependent on the selected Location using the drop-down rules are stored in: |
|
User |
%AVEVA_DESIGN_USER%\des-element-rules.pmldat |
|
Project |
<MDB>\bspdflts\des-element-rules.pmldat For example, BSP\bspdflts\des-element-rules.pmldat |
|
Default |
%PMLUI%\dflts\ des-element-rules.pmldat |
|
Name |
Enter a Name for the new rule in the text box. |
|
Types |
Enter the Types in the text box, which is a standard four-letter word which defines the type of element in the Design database hierarchy. |
|
Note: |
|
|
Rule |
A logical selection Rule must be defined to identify any type of element for which the Type alone is not a sufficient specification. A selection rule is defined as the evaluated result of a PML expression. |
|
Note: |
If no selection rule is defined for a given rule, the rule is applied to all elements of the specified Type.
|
Description |
Enter a brief text string showing the type of element to which the rule is to be applied. |
Click Include or Replace (an existing rule), if you want to save the changes it has made and then click Apply to close the window.
To bring the rule into use, you must add it to the list of rules on the Auto Colour Rules or Naming Rules window.
To remove a rule, highlight it in the Defined list and click Remove.
Once you have completed configuring the Colour settings, click Apply to apply the settings. Click Cancel to discard any changes made.
Click Load or Save, to load from and save to the options files stored at %AVEVA_DESIGN_USER%.