Variation Modeling Rules
Consistency rules available in the HOPEX repository help you to check that your system of variations is correctly modeled.
To access the modeling rules, you must have access to:
• an "Advanced" metamodel (Main menu> Settings > Options > Repository)

(Windows Front-End) via
Tools > Options > Repository.
• the HOPEX Power Studio product
Rules appear in the MetaStudio navigation window, under the "Repository Consistency" folder.
These rules are as follows:
• A substituting object must be correctly contextualized: this means that a substitution must connect objects of the same type and must also be connected to the variation in which it is involved.
• An object cannot be the result of several variations.
• An object cannot be its own variant.
• A variation relates to two objects of the same MetaClass.
To apply this regulation and thus check the consistency of objects you create with the rules to be respected:
1. Access the HOPEX options (Main Menu > Settings > Options).

(Windows Front-End) via
Tools > Options.
2. In the Options tree, select Modeling and Methods Regulations.
3. In the right section, in the Active modeling regulation field, click the arrow and select Choose a regulation.

(Windows Front-End) click on

4. In the dialog box that appears, select "Variation Modeling Regulation".
5. Click OK.
You can consult the results linked to this regulation at any time. They appear in the properties dialog boxes of the objects concerned.
You can also display them in diagrams and navigators with status indicators showing objects that are not validated with respect to the regulation.