Role: To specify connector behaviors such as connect and disconnect.
Properties
- Property AttrNames() As
-
Returns or Sets Attribute names of the connector.
- Example:
-
Dim objThisIntf As PspConnector Dim ojArg1 As CATIAPspListOfBSTRs ... Set ojArg1 = objThisIntf.AttrNames
- Property ConnectorName() As
-
Returns or sets name of the connector.
- Example:
-
Dim objThisIntf As PspConnector Dim strVar1 As CATBSTR ... Set strVar1 = objThisIntf.Name Dim strVar1 As CATBSTR ... objThisIntf.ConnectorName = strVar2
Methods
- Sub Connect( iCntrToConnect)
-
Connect the connector to another connector.
- Parameters:
-
- iCntrToConnect
- the connector to be connected to dd>
- Example:
-
Dim objThisIntf As PspConnector Dim objArg1 As PspConnector ... objThisIntf.Connect objArg1
- Sub Disconnect( iCntrToDisconnect)
-
DisConnect the connector from another connector.
- Parameters:
-
- iCntrToDisconnect
- The connector to be disconnected from dd>
- Example:
-
Dim objThisIntf As PspConnector Dim objArg1 As PspConnector ... objThisIntf.Disconnect objArg1
- Func GetAssociatedConnectable() As
-
Get the connectable-owner of this connector.
- Parameters:
-
- oConnectable
- Connectable owner of this connector dd>
- Example:
-
Dim objThisIntf As PspConnector Dim objArg1 As CATIAPspConnectable ... Set objArg1 = objThisIntf.GetAssociatedConnectable
- Func IsCntrConnected() As
-
Query whether the connector has been connected.
- Returns:
- TRUE if this connector is connected. dd>
- Example:
-
Dim objThisIntf As PspConnector Dim bArg1 As boolean ... bArg1 = objThisIntf.IsCntrConnected