Knowledge Expert

KWERuleBaseComponent KWERuleBase
KWECheck KWERule
KWERuleSet KWEGenericRuleBaseComponent

KWERuleBaseComponent    

Description

Type enabling you to access the For all field or the Body of the rule or the check in Read only mode.

Inheritance path

Standard > Feature > KnowledgeExpert > KweGenericRuleBaseComponent

Attribute

BodyString:
Contains the check or rule body.

Language:
Corresponds to the language of the check: 1 for the Knowledge Expert language, 2 for Visual Basic, and 3 for KWE Advanced Language.

VariableString:
Variable specified in the For all field.   

KWERuleBase   

Description

Type describing the rule base created when accessing the Knowledge Expert icon.

Inheritance path

Standard > Feature > KnowledgeExpert > KweGenericRuleBaseComponent > KnowledgeExpert > KweRuleSet

KWECheck    

Description

Type describing the checks created when clicking the Expert Check icon.

Inheritance path

Standard > Feature > KnowledgeExpert > KweGenericRuleBaseComponent > KnowledgeExpert > KWERuleBaseComponent

Attributes and Methods

AddTupleFailed()  
Method allowing you to fill in the list used to generate the report of failed checks.
AddTupleSucceeded()  
Method allowing you to fill in the list used to generate the report of succeeded checks.

Example
Variables : H:Hole;P:Part
Body : if (H.Diameter > 5mm)
ThisCheck > AddTupleFailed(H,P)
Note that the tuple H,P is added to the report. Each call to method addTupleFailed or AddTupleSucceeded adds a line to the report.

CorrectFunction
Enables you to modify the string contained in the Correct tab of the Check editor.
CorrectFunctionComment
Enables you to modify the correct function comment in the Check editor.
CorrectFunctionType
Real enabling you to modify the type of the correct function in the Check Editor.
Help
Enables you to modify the help message in the Check editor. 

KWERule    

Description

Type describing the rules that you create when clicking the Expert Rule icon. 

Inheritance path

Standard > Feature > KnowledgeExpert > KweGenericRuleBaseComponent > KnowledgeExpert > KWERuleBaseComponent

Attribute

Priority:
 Indicates the rule priority level.   

KWERuleSet     

Description

Type describing the rule set  that you create when clicking the Rule set icon or when creating an Expert Check or Rule.

Inheritance path 

Standard > Feature > KnowledgeExpert > KweGenericRuleBaseComponent

Attribute

DirectChildren
Attribute of List type enabling you to retrieve the items located below the ruleset. 

KWEGenericRuleBaseComponent    

Description

Type enabling you to reference the Knowledge Expert objects.

Inheritance path

 Standard > Feature

Attribute

Activated:
Indicates if the sub-components of the RuleBase  are activated.

Comment:
Shows the comments appearing when creating the expert rule or the expert check and that can be modified using the Edit > Properties menu in the Knowledge Expert workbench.