Quick Reference of User Tasks

Rule Base

Creating a rule base    
  logokwx.gif (1425 bytes) An empty rule base is automatically added to a document when you access the Knowledge Expert workbench.
Importing a rule base
  logokwx.gif (1425 bytes) In the file selection box, select the CATProduct file which contains the rule base to be imported.
Note:
 
  • the external document must be a CATProduct
 
  • the rule base is the only feature which is imported from the external document (mechanical features are not imported for example)
 
  • rules/checks are not imported when there are rules/checks with the same name in the importing document
Storing a Rule Base in a Catalog
  logokwx.gif (1425 bytes)
  1. Select Knowledge > Catalog Editor.

  2. Add a family to a chapter, then click the Add Family icon. The new family is added to the tree.

  3. Double-click the family, then click the Add Component icon, the Description Definition dialog box is displayed.

  4. Push Select external feature, then select the rule base in the document specification tree.

  5. Save the created catalog.

Retrieving a Rule Base from a Catalog
  logokwx.gif (1425 bytes)
  1. Open the document you want to import the rule base to.

  2. Click the Open catalog icon.

  3. Double-click the rule base. A dialog box prompts you to check either the Use Only option or the Import option.

Solving a rule base
  logokwx.gif (1425 bytes) There are two ways to solve a rule base:
  1. The icon. This icon is activated either when the document has just been modified or when one of the rule base relations has just been modified. A rule base which is to-be-solved is displayed in the specification tree with a icon. Click the Solve icon in the workbench to solve the rule base.

  2. Manual Solve. This command solves the rule base no matter its status (to-be-solved or not).

Activating / Deactivating a rule base
  I_FormulaP2.gif (164 bytes) In the parameter list of the Formulas dialog box, select the rule base/activity parameter and modify its value in the Edit name or value of the current parameter field.
  In the specification tree, right-click the rule base object, then select Rulebase object > (De)activate.
Defining the rule base settings (check report)
  In the specification tree, right-click the rule base object, then select Rulebase object > Settings.

Rule Set

Creating a rule set
  logokwx.gif (1425 bytes) The rule set creation is included in the expert rule/check creation task. When you create an expert rule/check, you are prompted to select either a rule base or a rule set. Selecting a rule base creates a rule set and adds a rule/check to this rule set.  Selecting an already existing rule set creates a rule/check in this rule set.
Activating / Deactivating a rule set
  logobas.gif (184 bytes) I_FormulaP2.gif (164 bytes) In the parameter list of the Formulas dialog box, select the ruleset/activity parameter and modify its value in the Edit name or value of the current parameter field.
 or In the specification tree, right-click the rule set to be activated or deactivated, then select Ruleset.object > (De)activate.
Deleting a rule set
  In the specification tree, right-click the rule set, then select Delete.

Expert Rule 

Creating an expert rule
  logokwx.gif (1425 bytes)
  1. Select a rule base or a rule set. A dialog box is displayed.

  2. Modify the default rule name and comments (optional).

  3. Click OK. The Rule Editor is displayed.

  4. Enter the feature type in the kwxQuelq.gif (1340 bytes) field , example:  H:Hole;S:Shell
    and the rule body, example:
    if H.Diameter > 10.0
    (H.Diameter = False)

  5. Click Apply to check the rule syntax.

  6. Click OK to add the expert rule to the document.

Editing / Modifying an expert rule
  logokwx.gif (1425 bytes) In the specification tree, double-click the rule to be edited, then modify its statements in the rule editor.
 or In the specification tree, right-click the rule to be edited, then select Rule object > Definition.
Activating / Deactivating an expert rule
  logobas.gif (184 bytes) I_FormulaP2.gif (164 bytes) In the parameter list of the Formulas dialog box, select the rule/activity parameter and modify its value in the Edit name or value of the current parameter field.
 or In the specification tree, right-click the rule to be activated/deactivated, then select Activate/Deactivate.
 Deleting an expert rule
  In the specification tree, right-click the rule to be deleted, then select Delete.

Expert Check 

Creating an expert check
  logokwx.gif (1425 bytes) kwxWKChecks.gif (1236 bytes)
  1. Select a rule base or a rule set. A dialog box is displayed

  2. Modify the default check name and comments (optional)

  3. Click OK. The Check Editor is displayed

  4. Enter the feature type in the kwxQuelq.gif (1340 bytes) field , example:  H:Hole;S:Shell

  5. Enter the check body in the edition box
    H.Diameter > 10.0 mm

  6. Click Apply to test the check syntax

  7. Specify a correction method and a message to be displayed in the check report (optional)

  8. Click OK to add the expert check to the document.

Editing / Modifying an expert check
  logokwx.gif (1425 bytes) In the specification tree, double-click the check to be edited, then modify its statements in the check editor.
 or In the specification tree, right-click the rule to be edited, then select Check object > Definition.
Activating / Deactivating an expert check
  logobas.gif (184 bytes) I_FormulaP2.gif (164 bytes) In the parameter list of the Formulas dialog box, select the check/activity parameter and modify its value in the Edit name or value of the current parameter field.
 or In the specification tree, right-click the check to be activated/deactivated, then select Activate/Deactivate.
Generating a check report
  logokwx.gif (1425 bytes) The Check Report  is generated from the data specified in the RuleBase Settings. 

To modify the format or the contents of the Check Report,  select Rulebase object > Settings and check the appropriate options in the RuleBase Settings dialog box.

Applying a correction method
  In the specification tree, right-click the check, then select Correction Function. The rule base must have been solved.
Highlighting invalid features
  In the specification tree, right-click the check, then select Highlight Failed Components. The rule base must have been solved.
Deleting an expert check
  In the specification tree, right-click the check to be deleted, then select Delete.