Click
and select Knowledgeware > Rules > Knowledge Expert.
Click Expert Check
and change the name to HoleCheck.
The Expert Check Editor opens.
In the Condition tab, double-click <Add new argument> in the Input argument list and enter:
H in
the field.
Select Hole in the Type scrolling list.
Enter H.Diameter > 15mm in the Editor.
In the Report tab field, enter the following string, and click OK.
Holes diameters must be greater than 15mm.
Select the rule base under the Relationsnode and click Expert Check
. Change the name of the check to DraftandHole and click OK.
The Expert Check Editor opens.
In the Condition tab, enter the following script, then click Apply and OK.
H:Hole ; D:Draft
Editor: D.Activity AND H.Diameter > 12mm
The check is created.
Click Check Analysis
in the Knowledge toolbar.
The Reports window opens.
Click
to update the status of the checks.
The checks lights turn to red in the specification tree.
Click
.
An xml page opens indicating the items that failed.
To correct the check, modify the value of the Length parameter.