Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: Bilinmeyen Fonksiyon
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2001
 ***********************************************************************
   Purpose:      This macro:
                 1 - Creates a rule base
                 2 - Adds the check below to this rulebase
                     (for all) H:Hole
                     H.Diameter>12mm
                 3 - Determines whether the rule base is to be solved or not
                 4 - Solves the rulebase if the rule base is to be solved
                 5 - Highlight the failed items

   Assumptions:
                 This macro is intended to be run on the
                 CAAKhwRuleBaseCreate.CATPart document located in
                 InstallRootDirectory/CAADoc/Doc/online/CAAScdKhwUseCases/samples/CAAKhwRuleBaseCreate.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
 ***********************************************************************
 Check whether the document is a CATPart
 Retrieve the Relations collection
 Create the RB1 rulebase
 Create the RuleSet.1 rule set and the HDiaCheck below
 the created rule set
 The rule base needs to be solved
 To confirm this, the rule base fingerprint is retrieved
 if the Fingerprint is 0 - the rule base needs be solved
 otherwise it is solved
 Solve the rule base
 Highlight the elements not satifying the check criteria
 Reminder: elements are highlighted in the geometry area
 and in the specification tree as well
 Three holes are highlighted after the macro has finished running
 oRuleBase.Report()