Attribute Expression Sets

On the Design right-click menu, in the Project Explorer: Select Setup | Attribute Expressions to define a series of attribute expressions that will be executed sequentially, in the order specified. The Expression Sets you define are saved as part of the model.

You can also open the Attribute Expression Sets Window when you click on the ellipsis to the right of the Method Setting in the Set Attribute by Expression dialog. The Expression Set you want to apply can either be selected (and modified) or created from scratch:

An Attribute Expression Set allows you to define a series of expressions that will be executed sequentially in the order specified. The Expression Sets you define are saved as part of the model.

Click on the links to navigate to the following sections:

 

Add a New Set

To create an Expression Set:

  1. Right-click and select Add to create an Expression Set (you can also add folders and use those folders to group the Sets you create).

  1. Each new Expression Set is given a default name. Rename the Set. The name you choose should identify the data being queried by the expressions in that Set:

Copy (or Insert Copy) a Set

You can also create an Expression Set by copying an existing set.

  1. Right-click on a set and select Copy:

  1. You can then right-click on the Expression Sets node or a folder and select Paste to append the copied set at that location:

You can also right-click on a Set and select Insert Copy. In this case, a copy of the set is inserted directly below the set you have copied.

Add Expressions to a Set

Click the Add icon to add a New Expression to the Attribute Expressions pane. On each Expression row:

  1. Use the drop-down to select an Attribute of the Input Data. (If necessary, click the ellipsis to Setup Attributes.)

  1. Use the Functions, Operators, Constants and Variables provided by the Expression Editor to create an Expression that will generate values for the attribute you selected in Step 1. You can also reference other Design Elements in the expression.

    (You can also click the ellipsis to open the Expression Editor in its own window.)

  1. When you add an Expression to a Set, it is Enabled by default. Use this check box to enable or disable each Expression in the Set. Only the enabled expressions in an Expression Set are applied when the Set is applied.

  2. Values in the Index column are read-only. To change the order or the number of the Expressions in the Set, use the tools provided on the local toolbar:

    Use a Wizard to semi-automate the process. Quick selection pick lists are provided.
    Add a new row to the list.
    Delete the row(s) currently selected in the list.
    Move the currently selected row(s) Up to reorder the list.
    Move the currently selected row(s) Down to reorder the list.
    Use the Bulk Editor to make bulk modifications to the items in the list.