Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAAKniSubListFilter.CATScript
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2001
 ***********************************************************************
   Purpose:      You can add user parameters to a given feature by using the
                 Knowledge Advisor product. This macro filters the parameters
                 related to a pad.1 feature. You can apply this macro to any
                 part with a pad.1 feature or modify this macro to filter
                 the parameters related to any other feature.
                 This macro illustrates how to use the SubList method of a
                 Parameters collection.

   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
 -----------------------------------------------------------
 Retrieve your active document
 Check whether the document is a CATPart
 Retrieve the collection object which contains
 all the document parameters
 Scans the collection of Bodies in a part
 For each item of the Bodies collection,
 search for a Pad.1 feature
 Display the list of parameters related to the Pad.1 feature
 If False is specified in the second argument of the SubList
 method, the list which is returned contains the parameters directly
 related to Pad.1 (for example the pad limits) plus
 the user parameters added right below Pad.1.
 If True is specified in the second argument, the returned list contains
 all the parameters related to Pad.1 itself plus the parameters related
 to its children (for example, the parameters of the sketch from which
 the pad was extruded from)