Creating a Knowledge Advisor
Reaction: Update Event
This task explains how to use the Update
event associated to the reaction
feature.
The CATPart file contains a rulebase that is updated
each time a modification is made.
The Reaction capabilities require the Knowledge Advisor product.
Open the KwrEvent_Update.CATPart: It contains a part with holes and a rulebase made up of 2 checks.
From the Start->Knowledgeware menu, access the
Knowledge Advisor workbench and click the Reaction icon
(). The
Reaction dialog box opens.
In the Source type field, select Selection
and select the RuleBase in the
specification tree for the Reaction to be applied to the
rulebase.
In the Available events list, select Update.
In the Action field, select Knowledgeware
action and enter the following message: Message("Rulebase updated").
Double-click the CATKWECheck.1. The Check Editor opens. Modify the
check: (H\Diameter == 20mm)and click OK
Right-click the rulebase and select the Rulebase object->Manual
Complete Solve command.
The reaction is fired and the following message displays: