Creating an Expert Check

You can create an Expert Check which is a set of statements intended to give you a clue as to whether certain conditions are fulfilled or not. An expert check applies to the features of a given type. It does not modify the document it is applied to.

This task shows you how to create a check which detects whether all the holes are activated and have a 11mm diameter.


Before you begin: Refer to the Sample topic to create the model you need to perform this scenario.
Related Topics
About the Expert Check Editor
Creating an Expert Check Using the Knowledge Advanced Language
  1. Click and select Knowledgeware > Rules > Knowledge Expert.

  2. Click Expert Check .

  3. Select the Rule Base relation in the specification tree.

    The Expert Check Editor dialog box is displayed.

  4. If need be, replace the default name and description of the check to be created, the description will be displayed at the first line. Select the Knowledge Language, then click OK.

    The Expert Check Editor is displayed.

    Important: If you want to display the Check Language after creating the check, select the check in the specification tree, and select Edit > Properties or Alt > Enter. The Check language is displayed.

  5. Enter the H:Hole statement in the area to specify that the check is to be applied on all the holes and that H will be used as a variable. To do so:

    1. Double-click <Add new argument> and enter H.
    2. Select the Hole type in the Type scrolling list.
    3. Click Apply.

  6. Copy/Paste the code below from your browser to the edition box:

    (H.Diameter == 11.0 mm) AND (H.Activity == TRUE)

  7. Click OK.

    A check is added to the rule base in the specification tree.

    Note: To get a full description of the available types, see the Reference Information section of this guide.

  8. Click Solve to solve the Rule Base.

    The light icon associated with the check has turned to red, indicating that the check is not valid (all the holes have a diameter of 10.0mm).

  9. Right-click the check in the specification tree, and select Highlight Failed Component. This highlights the features that don't fulfill the criteria specified in the check.

    Note: You can edit the check name after creating the check. To do so, proceed as follows:

    • In the specification tree, select the Check, and select Edit > Properties or Alt >Enter.
    • Modify the Check name in the editor.

    You can also edit the check comment. To do so, proceed as follows:


    • Select the Check, and select Edit > Properties.
    • Modify the Check comment in the editor. This modification does not modify the comment in the body field of the Expert Check Editor but it modifies the Check Report.