|
Pro/Desktop
allows the creation of conditional design rules. A good example
of a conditional is a classic if-then-else expressions.
To create
a conditional design rule, use the following format:
IF (logical
expression, expression1,expression2)
IF(logical expression, do this if true, do this if false)
Where:
- logical
expression is the condition to be met (required)
- expression1
is the result if the logical expression is true (required)
- expression2
is the result if the logical expression is false (optional)
- expression1
and expression2 are expressions created using the regular non-conditional
format.
- If expression1
is true, expression2 is ignored.
- If there
is no expression2 and expression1 is false, the design rule
is ignored

The
logical expression can include the following logical conditional
operators :
The
logical expression can include the following mathematical conditional
operators:
| < |
Less
than |
| <= |
Less
than or equal to |
| > |
Greater
than |
| >= |
Greater
than of equal to |
| = |
Equal
to |
| <> |
Not
equal to |
Was
this tutorial helpful?? Email
Steve!
|