-
From the
Compass, click the 3D Modeling Apps quadrant, and select Quality Rules Reuse.
-
Click Expert Check
.
The Knowledge Engineering Specification
Physical dialog box appears. Note:
If required, replace the
default name and description of the expert check to be created.
-
Click OK.
The Expert Check Editor dialog box appears.
-
From the Language list, select the
Enterprise Knowledge Language and click
OK.
The Expert Check Editor
Condition window appears.
-
Enter the
dim statement in the
Name area to specify that the check is to be applied
on all the dimensions. To do so:
-
Double-click Add new argument and enter
dim.
-
Select the
TPSDimentionAnnot type
in the Type list.
-
Copy/Paste the following syntax from your browser to the editor, and click
Apply to test the syntax.
if(dim.DimensionValue >=15mm)ThisCheck.AddNewTuple(true,dim)else ThisCheck.AddNewTuple(false,dim)
-
Click OK.
A check is added to the rule base in the tree.
-
Click Solve
.
The check icon turns red indicating that the check
failed (all the dimensions are not superior or equal to 15mm).
-
Right-click the check in the tree, and select .
This highlights the features that do not fulfill the
criteria specified in the check.
|