Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAAKniParamPerComponents.CATScript
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2001
 ***********************************************************************
   Purpose:      This macro filters the parameters created in a CATProduct
                 document
                 1 - It displays the parameters right below
                     the root product
                 2 - It displays the parameters belonging to a component

   Assumptions:  This macro is intended to be run on the
                 CAAKniClash.CATPoduct document.
                 However, you can run this macro on any CATProduct document
                 which has a rule base.


   Author:       Carole ROULLE, Pierre Grignon
   Languages:    VBScript
   Locales:      English (United States)
   CATIA Level:  V5R6
   revision V5R13
 ***********************************************************************
 Set the CATIA popup file alerts to False
 It prevents to stop the macro at each alert during its execution
 Retrieve your active document - CATIA is your application
 You get the active document by using the ActiveDocument property
 on your application object
 -----------------------------------------------------------
 Optional: allows to find the sample wherever it's installed
 -----------------------------------------------------------
 Open the Part document
 Check whether the document is a CATPart
 InStr is a standard VB function
 Search for the parameters having Product1 as their
 "grand-parent"
 Note that the parent of parameters created right below
 a root product is the Parameters feature.
 Searches for the parameters right below the p2.1 component
Msgbox oProductList.Item(j).Name