-
Open the
KwxUseCase1.CATPart document.
This document is a draft built from a rectangular pad. Three holes are
evenly distributed along the draft length.
-
Right-click Hole.1 and select Properties. In
the Update Status frame, check the Deactivated check box.
Click OK to close the window.
-
Access the Knowledge Expert workbench, then click the
icon. In the dialog box which is displayed, select KWE Language, enter a check name and a
comment, and then click OK. The check editor is displayed.
-
Select the Condition tab
and enter the check below:
(for all)
H:Hole
H.Activity == true |
-
In the Correction tab,
select User Function as correction method and enter the script below into the
edition box:
-
Click OK to add the check to the rule base,
then click the
icon to solve the rule base. In the specification tree, the check icon is
red indicating that not all the part holes are activated.
-
Right-click Hole.1 and select Correct Function.
The Correct Function is executed and the hole's activity is
changed. Then click the
icon to solve the rule base. The check icon is now green.