Select the Rule icon to create a rule, write its code, test its syntax and apply it to your document. |
A rule is a set of instructions, generally based on conditional statements, whereby the relationship between parameters is controlled. In addition, depending on the context described by the rule instructions, actions can be executed:
|
|
|
|
In the specification tree, the rule is displayed as a relation that can be activated or deactivated. Like any feature, a rule can be manipulated from its contextual menu.
A rule is executed when one of its input parameters has changed or when one of its input features has changed and if you require the update of the rule.
The consequence is that it is impossible for you to completely control when the rule is to be fired. As a result, rules can only manipulate parameters and features and are to be used to control the status of a design (change of parameters and geometry).
If you want to control when the action takes place, use the Reaction feature. |