DriveWorks 8
Using in-line AND OR makes reading of arguments with possible outcomes much more straightforward.
Rule | Meaning |
---|---|
ItemsReturn="Type A" AND Items2Return="Type B" OR Items3Return="Type C" | Will return TRUE when Items = Type A and Items2 = Type B or Items 3 = Type C |
ItemsReturn="Type A" AND Items2Return="Type B" OR Items3Return="Type C" | Will return FALSE when Items = Type A and Items2 is not Type B or Items 3 is not Type C |
IF( ItemsReturn="Type A" AND Items2Return="Type B" OR Items3Return="Type C",100,150) | Will return 100 when Items = Type A and Items2 = Type B or Items 3 = Type C Will return 150 when Items = Type A and Items2 is not Type B or Items 3 is not Type C |
Components that have been captured as Replacement Models are now listed in the Alternatives tab of the Rules Builder.
The Alternatives tab is only available when building a rule for the File Name parameter of a model. The Alternatives tab is only populated with the replacement models that have been captured to the model the rule is being built on.
To select alternatives to use in the rule:
A rule that references itself (circular reference) will not be calculated, the result will be displayed as #CIRCULAR.
The rule will be saved allowing further diagnosing to correct the issue.
An IF Function that contains too many arguments will not be calculated, the result will be displayed as #VALUE.
The rule will be saved allowing further diagnosing to correct the issue.