Bu CATIA API fonksiyonu ne işe yarar?
Fonksiyon: CAAPspConnectivity.CATScript
Cevap:
COPYRIGHT DASSAULT SYSTEMES 2005
 *****************************************************************************
   Purpose:      This sample illustrats the use of IDL interfaces
                 CATIAPspConnector, CATIAPspConnectable and CATIAPspCntrFlow
    Assumption:   Looks for document CAAPspEduIn.CATProduct


   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  a PspPhysical object in the Piping domain
-----------------------------------------------------------------------
--- If ( Not ( objPspWorkbench Is Nothing ) and objPspApplication
-----------------------------------------------------------------------
 Get objPspCntbl
-----------------------------------------------------------------------
-----------------------------------------------------------------------
 Get connected objects to this object
-----------------------------------------------------------------------
-----------------------------------------------------------------------
 Getting connector and flow information
-----------------------------------------------------------------------
-----------------------------
 Query connector information
-----------------------------
 Query Connector flow information
-----------------------------------------------------------------------
 Get List of connectors
-----------------------------------------------------------------------
-----------------------------------------------------------------------
 Get List of Valid connector types
-----------------------------------------------------------------------
 -----------------------------------------------------------------------------
 | QueryConnector methods
 |
 | Input: objPspCntrArg        : PspConnector object
 |
 |
 -----------------------------------------------------------------------------
 ---------------------------
 Get Associated connectable
 -----------------------------------------------------------------------------
 | QueryCntrFlow methods
 |
 | Input: objPspCntrFlowArg        : PspCntrFlow object
 |
 |
 -----------------------------------------------------------------------------
 ---------------------------
 Flow Capability information
 ---------------------------
 Flow Reality information
 ---------------------------
 Set Flow Reality information