Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAA2dlIPrint2DLayout.CATScript
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2006
 ***********************************************************************
   Purpose     : This macro allows you to print the part 2D layout
   Author      : TBU
   Languages   : VBScript
   Locales     : English
   CATIA Level : V5R17
 ***********************************************************************
 Define the application default printer
 Retrieve the active document
 Look for the document type, if it is not a product document the macro stops
 Call the procedure to search the parts in document
 Search for the parts in the product structure
 Look for product children
 Call the procedure to search the parts in document
 Retrieve the reference product
 Look for the product existence
 Look for the product shape representation
 Retrieve the shape representation
 Look for the shape representation document type
 Retrieve the part
 Retrieve the 2D Layout
 Look for the 2D Layout existence
 Retrieve the sheet collection
 Retrieve the sheets contained in the collection
 Retrieve the sheet
 Print the sheet in a TIFF file