Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: Bilinmeyen Fonksiyon
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2001
 ***********************************************************************
   Purpose:      This macro:
                 1 - Retrieves the Relations collection from the active
                     document
                 2 - Determines whether there is a rule base in the
                     Relations list
                 3 - Determines whether the rule base is to be solved or not
                 4 - Retrieves the list of components below the rule base
                 5 - Retrieves the list of Expert Checks from the component
                     list
                 6 - Displays the list of checks along with their status
                     (check valid or invalid)

   Assumptions:
                 This macro is intended to be run on the
                 CAAKhwRuleBaseRead.CATPart document located in
                 InstallRootDirectory/CAADoc/Doc/online/CAAScdKhwUseCases/samples/CAAKhwRuleBaseRead.CATPart
                 where InstallRootDirectory is the directory where the CAA CD-ROM is installed

   Author:       Carole ROULLE
   Languages:    VBScript
   Locales:      English (United States)
   CATIA Level:  V5R6
 ***********************************************************************
 Set the CATIA popup file alerts to False
 It prevents to stop the macro at each alert during its execution
 Check you have an active document
 Retrieve the active document
 Retrieve the Relations collection
 A RuleBase if any is an item of this collection
 Scan the Relations collection
 Determine whether there is a rulebase in the document
 Retrieve the rulebase Fingerprint
 if the Fingerprint is 0 - the rule base needs be solved
 otherwise it is solved
 Retrieve the list of component below the rulebase
 IMPORTANT: a rule base is a rule set containing items
 of  ExpertRuleBaseComponentRuntimes types
 Check the status of the expert checks
 Specify the header to be displayed in a message box
 Scan the list of ExpertRuleBaseComponentRuntimes object
 If an object of the list is of ExpertCheckRuntime
 writes its name and status in a string
 Display the list of checks as well as their validity