Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAADriDuplicateAView.CATScript
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2003
 ***********************************************************************
   Purpose:      This macro allows you to copy a view from an
                      existing drawing document into a new drawing
                      document
   Author:
   Languages:   VBScript
   Locales:       English
   CATIA Level: V5R11
 ***********************************************************************
 Set the CATIA popup file alerts to False
 It prevents to stop the macro at each alert during its execution
 Optional: allows to find the sample wherever it's installed
 Open the Drawing document
 Fit in window the opened document
 Retrieve the sheet containing the view to be duplicated
 Retrieve the view to be duplicated
 Create an object of selection for the source document
 Clear the selection
 Add the view to be duplicated in the selection
 Copy the view
 Clear the selection
 Create the Drawing document where the view will be pasted
 Retrieve the where the view will be pasted
 Set the sheet paper size
 Create an object of selection for the source document
 Clear the selection
 Add the sheet where the view will be pasted in the selection
 Paste the clipboard
 Clear the selection
 Fit in window the active document
 Clear the variables