Creating Rule Sets

You can add rule sets under rule bases and thus create a rule sets hierarchy using Expert Rule set . Rule sets can now be defined and managed to logically structure the corporate knowledge Base: you can classify the rules and checks you created by process, for example.


Before you begin:
  • Make sure Relations is checked in the Options dialog box (Tools > Options... > Infrastructure > 3D Shape Infrastructure > Display)
  • Refer to the Sample topic to create the model you need to perform this scenario.
Related Topics
Activating and Deactivating a Rule Set
  1. Select the root node of the specification tree, click and select Knowledgeware > Rules > Knowledge Expert.

    A rule base is automatically added to the Relations node.

  2. Click Expert Rule Set . Change the name to RuleSet1 and click OK.

  3. Click Expert Rule , change the name to ExpertRule, click the rule set and click OK.

    The Rule Editor opens.

  4. Enter the following script in the Editor, then click Apply, and OK.



    H:Hole

    if(H.HoleType == Simple)

    {

    H.Diameter = 24mm

    }

  5. Select the rule set and click Expert Rule set . Change the name to RuleSet2 and click OK.

  6. Select RuleSet2, click Expert Check , change the name to ExpertCheck and click OK.

    The Expert Check Editor opens.

  7. Enter the following script in the Editor, then click Apply, and OK.



    H:Hole

    H.Diameter > 10mm

  8. Click Apply and OK.



    Note:

    • You can nest as many rule sets as required into a rule base.
    • You can nest as many rule sets as required into another rule set.
    • You can create as many expert rules or expert checks as required under each rule set.