-
Click
Formula
, select
Real from the
New Parameter of type and click
New Parameter of type
twice to create two parameters.
Real.1 and Real.2 are created.
-
Select Real.1 and right-click the box next to the
Edit name or value of the current parameter
box.
-
Select
Add Range.
-
Specify the inferior and the superior bounds (-5 and 5 for
example), and click
OK twice to close the dialog box and the
Formulas editor.
-
From the
Compass, click
3D Modeling
Apps
,
select the
Engineering Rules Capture
app
then click
Rule
.
-
Enter the following rule:
Real.2 =Real.1 .InferiorRange and click
OK.
Real.2 value changes to -5.
-
Double-click the rule under the Relations node and replace the
existing script with
Real.2 =Real.1 .SuperiorRange and click
OK.
Real.2 value changes to 5.
|