-
From the
Compass, click the
3D Modeling
Apps
quadrant, and select
Quality Rules Reuse.
-
From the
Quality Rules Reuse
section, select
Expert Rule
.
-
Select
Knowledge Language and click
OK.
The Expert Rule Editor appears.
-
Enter
H:Hole
in the
For All (
) area to specify that the rule is to be
applied to all the holes and that H
is used as a variable. To do so:
-
Double-click Add new argument and enter
H .
-
Select the
Hole type from the
Type list.
-
Click
Apply.
-
Copy/Paste the rule below from your browser to the editor:
if (H.Diameter == 50.0 mm)
H.Diameter = 10.0 mm
else
H.Diameter = 20.0 mm
-
Select
Apply to test the syntax.
-
Click
OK.
A rule is added to the
rule set in the
tree.
-
Select
Solve
to solve the
rule base. If need be, update the document.
|