This page provides you with more information about Expert Rules. An expert rule is a set of
instructions whereby you can start an action for any object having
a type defined in a type list. The action can be a message which does not modify
the document. More generally it consists of a set of instructions
modifying the document. The action specified in a rule can be conditionally
executed depending on the value of one or more expressions. In an
expert rule, objects are manipulated through their attributes and
methods (if any). This applies to checks too.
The For All
field in which you define the types list the rule applies to:
S:Shell ; H:Hole
The rule body:
if (S.Activity == true) AND (H.Activity == true )
Message (All shells and holes are activated)
Important:
Be careful when using multiple types in the For All field.
If there is no object of one type declared in the For All field in the document (for example no Shell in the document), the rule will not be executed even if there are object sof other types declared in the For All field in the document (for example one object Hole in the document).