-
From the Compass, click the west quadrant, and select Quality Rules Reuse
-
From the action bar, click Expert Check
.
-
Select the rule base relation in the tree.
-
In the Expert Check Editor, rename the check, and then click
OK.
-
Enter a statement in the area to specify that the check is to be applied, for instance,
on all the holes. To do so:
- Double-click <Add new argument> and enter
Hole.
- Select the Hole type in the Type scrolling list.
-
To display the Language Browser dialog box, click
Two functions exist for the sheet metal package: SHMFoldedDistance to check in
folded views and SHMUnfoldedDistance to check in unfolded views.
-
Select SHMFoldedDistance and click close the dialog box.
-
In the Expert Check Editor dialog box, define the rule using the
following syntax:
SHMFoldedDistance(Hole.SHMBodyForDistance,Bend.SHMBodyForDistance)>20
The rule checks that the folded distances between holes and bends are bigger
than 20mm.
-
Click OK.
-
To solve the rule base, click Solve
.
Light icons associated with the check are displayed, indicating whether the
check is valid (green light) or not (red light).
Result: To have further information, see the Quality Rules Reuse User's Guide.
Note:
Solids do not have a SHMDistance
attribute as well as the following commands: Axis to Axis,
Rotate, Symmetry, Order
Process, and Recognize.