Attribute Rule Expression Builder
- Last UpdatedJan 23, 2023
- 2 minute read
The Attribute Rule Expression Builder allows the User to define an attribute rule from a series of selections.

On the Associated Rule Definition window, select Attribute Rule Expression Builder to display the Associated Rule Definition window.

|
Expression |
Allows the User to build up a rule expression from the list of properties, local names, functions operators. The Design Templates application adds extra spaces and parentheses around expressions by default. It is optional whether or not the User enters extra spaces and parentheses when building an expression. |
|
Properties |
Select from the list of properties. The property displays in the Expression field. Select Current, Local or Template from the Properties drop-down list to define the list of properties. |
|
Local Names |
Select from the list of local names. The local name displays in the Expression field. Select Template or Dataset from the Local Names drop-down list to define the list of local names. |
|
Functions |
Select from the list of functions. The function displays in the Expression field. |
|
Operators |
Select from the list of operators. The operator displays in the Expression field. |
Click OK to store the position rule definition, Back to undo the last selection or Cancel to discard any inputs and close the Attribute Rule Definition window. The User is returned to the Associated Rule Definition window.
Click OK to apply the rule definitions to the valid values or Cancel to discard any inputs and close the Associated Rule Definition window. The User is returned to the Set Valid Values window.
Click OK to store the valid values data or Cancel to discard any inputs and close the Set Valid Values window.
Click Include on the Define Template Properties window to display the property in the list of Defined Valid Values. The values display as VVALUE elements in Model Explorer, contained within a DDAT element and a DDSE element.
The associated rule definitions display as ATTRRL elements contained within a DDAT element. When the template is instanced in a design, the associated rules are executed and sub-equipment references are defined accordingly.
