Define Constraints

This example shows how to define model-wide constraints that must evaluate to true for a variant configuration to become active.

  1. Open slexVariantManagementExample.

  2. In the Modeling tab of toolstrip, open Design section, click Variant Manager.

  3. In the Variant Manager, in the Constraints tab, click .

  4. Enter LinNotExtern as the Name and (Ctrl~=1) || (PlantLocation ~=1) as the Condition for the constraint.

    This constraint activates variants that do not use the Linear Controller and External Plant Controller configurations.

  5. To activate and validate the constraint, click the Activate button.

Related Examples

More About