All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

SchAppConnection (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---SchAppConnection
 


Manage a schematic connection.

Method Index

AppAddConnector
Add a connector.
AppListConnectables
Find all the application object connected to this connection through their connectors.
AppListConnectors
Find all the connectors included in this connection.
AppRemoveConnector
Remove a connector.

Methods


o Sub AppAddConnector(CATIASchAppConnector iCntrToAdd)
Add a connector.
Parameters:
iCntrToAdd
The Application Connector to be added to the connection
Example:
 Dim objThisIntf As SchAppConnection
 Dim objArg1 As SchAppConnector
  ...
 objThisIntf.AppAddConnectorobjArg1
 
o Sub AppListConnectables(CATIASchListOfBSTRs iLCntbleClassFilter,
CATIASchListOfObjects oLCntbles,
CATIASchListOfObjects oLCntrs)
Find all the application object connected to this connection through their connectors.
Parameters:
oLCntrClassFilter
A list of all the class types for filtering the output application objects list.
oLCntbles
A list of application objects connected to this connection. (members are CATISchAppConnectable interface pointers).
oLCntrs
A list of connectors through which this connection is made. (members are CATISchAppConnector interface pointers).
Example:
 Dim objThisIntf As SchAppConnection
 Dim objArg1 As SchListOfBSTRs
 Dim objArg2 As SchListOfObjects
 Dim objArg3 As SchListOfObjects
  ...
 objThisIntf.AppListConnectablesobjArg1,objArg2,objArg3
 
o Func AppListConnectors(CATIASchListOfBSTRs iLCntrClassFilter) As CATIASchListOfObjects
Find all the connectors included in this connection.
Parameters:
oLCntrClassFilter
A list of all the class types for filtering the output connector list.
oLCntrs
A list of connectors included in this connection. (members are CATISchAppConnector interface pointers).
Example:
 Dim objThisIntf As SchAppConnection
 Dim objArg1 As SchListOfBSTRs
 Dim objArg2 As SchListOfObjects
  ...
 Set objArg2 = objThisIntf.AppListConnectors(objArg1)
 
o Sub AppRemoveConnector(CATIASchAppConnector iCntrToRemove)
Remove a connector.
Parameters:
iCntrToRemove
The Application Connector to be removed
Example:
 Dim objThisIntf As SchAppConnection
 Dim objArg1 As SchAppConnector
  ...
 objThisIntf.AppRemoveConnectorobjArg1
 

Copyright © 2003, Dassault Systèmes. All rights reserved.