Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAAStiUseCase1.CATScript
Cevap:
-----------------------------------------------------------
 Get CAIEngine
 -----------------------------------------------------------
 Decide to run without any user interaction
 -----------------------------------------------------------
 Connect to the database (if not already connected)
 -----------------------------------------------------------
 Creating new CATPart document
 -----------------------------------------------------------
 Save document in SMARTEAM
 -----------------------------------------------------------
 Once saved, retrieve corresponding SMARTEAM classid & objectid
 -----------------------------------------------------------
 Perform Check-In operation on the document
 (this will close the document from the CATIA session and
 file will be removed from the disk)
 -----------------------------------------------------------
 Create new Product
 -----------------------------------------------------------
 Retrieve checked-in Part document from SMARTEAM database and
 get a local copy in the user work directory
 -----------------------------------------------------------
 Insert the part in the new Product
 -----------------------------------------------------------
 Save the Product in SMARTEAM
 -----------------------------------------------------------
 Perform Release operation on the Product document
 -----------------------------------------------------------
 Disconnect from the database in case we had to connect at the
 beginning of the script
 -----------------------------------------------------------
 Reset UseGraphicalUI option