A Rule is the fundamental object in the Intent system. A rule is a named expression which, when evaluated, returns a value of a specified type. Rule expressions can range from the simple to the very complex.
Examples of rules include:
- A numerical calculation of some important modeling relationship. The expression returns a numerical value when the rule is evaluated. This value may be used by another rule.
- Gathering data and sending it to an external application (for example, an MS Excel spreadsheet, Word document, and so on).
- A procedure that returns a part number based on engineering calculations.
The rules shown below could be used to define the three major dimensions of a box:
Rule height As Number = 100
Rule width As Number = 150
Rule depth As Number = 200