Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAAPstAddNewProduct.CATScript
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2000
 *****************************************************************************
   Purpose:       Create A Product Structure document containing
                        two parts.
   Assumtions:   Looks for CAAPstPad1_1.CATPart and
                        CAAPstPad1_2.CATPart in the CATDocView
   Author:
   Languages:   VBScript
   Locales:        English
   CATIA Level:  V5R6
 *****************************************************************************
 -----------------------------------------------------------------------------------------------
 Optional: allows to find the sample wherever it's installed
 ------------------------------------------------------------------------------------------------
Create a new product document by adding a document with the Product type
to the document collection of the CATIA application.
Retrieve the root product.
Declare the root product's part number and name.
Retrieve the product's collection under the root product.
Add a new product to the collection. This adds both a product reference
and a product component.
Declare the part number and name for this product.
Add a representation to this product using an existing part and reframe
the viewer to display the part completely.
Add another product to the root product's collection.  This adds both
a product reference and a product component.
Declare the part number and name for this product.
Add a representation to this product using an existing part and reframe
the viewer to display the part completely.