Role: To specify object behaviors such as adding a connector and removing a connector.
Properties
- Property Connectors() As (Read Only)
-
Returns a list of connectors of the object.
- Example:
-
Dim objThisIntf As PspConnectable Dim objArg1 As CatPspIDLDomainID Dim objArg2 As PspListOfBSTRs ... Set objArg2 = objThisIntf.Connectors
- Property ValidConnectorTypes() As (Read Only)
-
Returns a list of Valid connector types on this object.
- Example:
-
Dim objThisIntf As PspConnectable Dim objArg1 As PspListOfBSTRs ... Set objArg1 = objThisIntf.ValidConnectorTypes
Methods
- Func GetConnectorByName( iuConnectorName) As
-
Retrieves a connector with the given name.
- Parameters:
-
- iConnectorName
- Connector name to look for. dd>
- Returns:
- Connector with given name. dd>
- Example:
-
Dim objThisIntf As PspConnectable Dim strVar1 As PspListOfBSTRs Dim objArg2 As PspConnector ... Set objArg2 = objThisIntf.GetConnectorByName (strVar1)
- Sub ListConnectables( iuClassFilter, oLCntbles, oLCntrsOnThisObj, oLCntrsOnConnected)
-
Retrieve a list of connectors of the object.
- Parameters:
-
- iuClassFilter
- Class filter list. If iuClassFilter is an empty list then it will get connectors for all the application connector types. dd>
- oLCntbles
- a list of CATIAPspConnectable objects that connect this object dd>
- oLCntrsOnThisObj
- a list of connectors on "this" object in the connections ( A list of CATIAPspConnector) dd>
- oLCntrsOnConnected
- a list of connectors on the other objects that the member of the former list is connected to (positions in oLCntrsOnThisObj and oLCntrsOnConnected corresponds to each other) ( A list of CATIAPspConnector) dd>
- Example:
-
Dim objThisIntf As PspConnectable Dim objArg1 As PspListOfBSTRs Dim objArg2 As PspListofObjects Dim objArg3 As PspListofObjects Dim objArg4 As PspListofObjects ... objThisIntf.ListConnectables objArg1,objArg2,objArg3,objArg4