Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: GenKnowledgeInterfaces ExpertRule (Object)
Cevap:
Dim CATDocs As Document
 Set CATDocs   = CATIA.Documents
 Dim partdoc As PartDocument
 Set partdoc   = CATDocs.Add("CATPart")
 Dim part As Part
 Set part      = partdoc.Part
 Dim relations As Relations
 Set relations = part.Relations
 Dim Rulebase As ExpertRuleBaseRuntime
 Set RuleBase  = relations.Item("RB1")
 Dim Ruleset As ExpertRuleSetRuntime
 Set RuleSet	 = RuleBase.ExpertRuleBaseComponentRuntimes.Item("RS1")
 Dim Rule1 As ExpertRuleRuntime
 Set Rule1	 = RuleSet.ExpertRuleBaseComponentRuntimes.Item("Rule1")