Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAASchCreateSchDocument2.CATScript
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2004
 *****************************************************************************
   Purpose:      Create a schematic document (2).
   Assumtions:   Product level: Schematic Platform (SDI).
   Languages:    VBScript
   Locales:      English
   CATIA Level:  V5R15
 *****************************************************************************
 -------------------------------------------------------------------------
 Optional: allows to find the sample wherever it's installed
 -------------------------------------------------------------------------
--------------------------------------------------------------------------
 Create a CATProduct document
--------------------------------------------------------------------------

 Find the top node of the schematic object tree - schematic root.
--------------------------------------------------------------------------
 Associate schematic behavior to the CATProduct document through
 the method GetTechnologicalObject.
--------------------------------------------------------------------------
---------------------------------------------------------------------
 Regular CATProduct is a 3D document and is associated with a 3D
 editor and a 3D viewer. On the other hand a schematic document
 is a special CATProduct document that is associated with a special
 2D viewer and 2D editor. Therefore, we need to trigger the
 documentation initialization (which has already been done in
 CATDocuments.Add) again after associating schematic
 behavior to the document,
 by saving the document and re-opening it again.
---------------------------------------------------------------------
---------------------------------------------------------------------
 Set the drawing standard if needed
---------------------------------------------------------------------
objSchDoc.SaveAs strDocName
----If ( Not ( objSchRoot Is Nothing )...