Adding a constraint-based scope
A constraint-based scope includes all domain elements by default (subject is in scope "Everything"). You can select a different existing scope to act as the new scope's basis and edit it as needed.
Procedure
- From any window within the CAE browser client, click Configuration > Scopes.
- Select the Elements tab (to create a domain element scope) or the Events tab (to create an event scope).
- Click Add > Constraint-Based Scope.
- In the Enter New Scope Name field, type a name for the new constraint-based scope.
- Click OK.
- Edit the scope and subject values as needed for your objectives.
If you need to add new constraints to the scope definition, click the Add button and select AND <new>. The scope constraint editor displays to guide you through the process of creating each constraint. For more information, see Scope constraint editor.
Constraints you define are added to the scope definition and comments field displayed in the right panel of the Configuration Browser.
Note: The set of properties and relations available to you when writing a constraint depends upon what subjects are defined by earlier constraints. For example, the address property applies (and is available) when the subject is a device but does not apply (and is therefore not available) when the subject is an interface. - You can modify and re-order constraints if necessary.
To do so, click the AND operator that joins the "Subject is in scope" and "Subject is a" fields. A drop-down menu displays the following options:
- AND <new>
- Creates a new constraint to be ANDed with the selected constraint.
- AND <paste>
- ANDs the selected constraint with the one from the clipboard.
- Copy
- Copies the selected constraint and put it on the clipboard. This action copies everything in the selected constraint block.
- Simplify
- Removes all hierarchical nesting conventions from the selected block of constraints, making them flat.
Additionally, you can click on a Boolean operator or constraint within the scope definition. A drop-down menu displays with the some or all of following options enabled:
- Edit
- Enables you to edit the selected constraint.
- Cut
- Enables you to delete the selected constraint from the scope definition.
- Copy
- Enables you to copy the selected constraint.
- Remove
- Enables you to delete the selected constraint definition from the scope definition.
- NOT
- Changes the BOOLEAN logic for selected constraint to be FALSE (not equal to the constraint string specified).
- AND <new>
- Enables you to create a new constraint that is to be ANDed to the selected constraint. The new constraint is placed at the level of the selected constraint, thus enabling you to nest constraints in the scope definition.
- AND <next>
- ANDs the selected constraint with the constraint that follows it.
- AND <paste>
- Enables you to paste a copied constraint as an AND statement related to the selected constraint.
- OR <new>
- Enables you to create a new constraint that is to be ORed to the selected constraint. The new constraint is placed at the level of the selected constraint, thus enabling you to nest constraints in the scope definition.
- OR <next>
- ORs the selected constraint with the constraint that follows it.
- OR <paste>
- Enables you to paste a copied constraint as an OR statement related to the selected constraint.
- Raise
- Enables you to move the selected constraint up one level in its current block.
- Lower
- Enables you to move the selected constraint down one level in its current block.
- Promote
- Enables you to promote to the next highest block level in the scope definition.
- (Optional) Type a comment to describe the scope.
- Press the Apply button to save the scope definition.