Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAADriUpdateSheets.CATScript
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2000
 ***********************************************************************
   Purpose:      This macro allows you to update all the sheets contained
                 in all Drawing document of a specified folder
   Assumptions:
   Author:
   Languages:    VBScript
   Locales:      English (United States)
   CATIA Level:  V5R6
 ***********************************************************************
 Set the CATIA popup file alerts to False
 It prevents to stop the macro at each alert during its execution
 Set the file system object containig the folder
 -----------------------------------------------------------
 Optional: allows to find the sample wherever it's installed
    If (Not oFileSys.FolderExists(sDocPath)) Then
      Err.Raise 9999,,"No Doc Path Defined"
    End If
 -----------------------------------------------------------
 Define the path's folder where we are looking for Drawing documents
 Set the folder object
 Loop on the files collection of the folder
 For Each File In Folder.Files
  Retrieve in the files collection only the Drawing documents from its extension
 Set and open a Drawing document
 Loop on the sheets collection of the drawing document
 For Each sheet In oDoc.Sheets
 Update the sheet even is not necessary
 Save the Drawing document
 oDoc.Save
 Close the Drawing document