Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAAPspPart.CATScript
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2005
 *****************************************************************************
   Purpose:      This sample illustrats the use of IDL interfaces
                 CATIAPspPartConnector, CATIAPspPhysicalProduct



   Languages:    VBScript
   Locales:      English
   CATIA Level:  V5R15
 *****************************************************************************
--- strMessage_g is a global variable visible to all private Sub/Function
 -------------------------------------------------------------------------
 Optional: allows to find the sample wherever it's installed
 -------------------------------------------------------------------------
 Open the Distributive system document
 Find the top node of the Distributive System object tree - .
-----------------------------------------------------------------------
 Get PspWorkBench, PspApplication
-----------------------------------------------------------------------
--- If ( Not ( objPspWorkbench Is Nothing )...
-----------------------------------------------------------------------
 Get PspPhysicalProduct object
-----------------------------------------------------------------------
--- If ( Not ( objPspWorkbench Is Nothing ) and objPspApplication
-----------------------------------------------------------------------
 Get ID of the object
-----------------------------------------------------------------------
----------------------------------------
 Getting the first PspPartConnector
-----------------------------------------------------------------------
 Get PspPartConnector Information
-----------------------------------------------------------------------
 -----------------------------------
 Add a new connector
 -----------------------------------
 -----------------------------------
 Remove connector
 -----------------------------------