Indexes   

PspConnector (Object)

Represents connector object.
Role: To specify connector behaviors such as connect and disconnect.

Property Index

AttrNames
Returns or Sets Attribute names of the connector.
ConnectorName
Returns or sets name of the connector.

Method Index

Connect
Connect the connector to another connector.
Disconnect
DisConnect the connector from another connector.
GetAssociatedConnectable
Get the connectable-owner of this connector.
IsCntrConnected
Query whether the connector has been connected.

Properties


o Property AttrNames() As
Returns or Sets Attribute names of the connector.
Example:
 Dim objThisIntf As PspConnector
 Dim ojArg1 As CATIAPspListOfBSTRs
  ...
 Set ojArg1 = objThisIntf.AttrNames
 
 
 
 
o 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


o Sub Connect( iCntrToConnect)
Connect the connector to another connector.
Parameters:
iCntrToConnect
the connector to be connected to
Example:
 Dim objThisIntf As PspConnector
 Dim objArg1 As PspConnector
  ...
 objThisIntf.Connect objArg1
 
o Sub Disconnect( iCntrToDisconnect)
DisConnect the connector from another connector.
Parameters:
iCntrToDisconnect
The connector to be disconnected from
Example:
 Dim objThisIntf As PspConnector
 Dim objArg1 As PspConnector
  ...
 objThisIntf.Disconnect objArg1
 
o Func GetAssociatedConnectable() As
Get the connectable-owner of this connector.
Parameters:
oConnectable
Connectable owner of this connector
Example:
 Dim objThisIntf As PspConnector
 Dim objArg1 As CATIAPspConnectable
  ...
 Set objArg1 = objThisIntf.GetAssociatedConnectable
 
o Func IsCntrConnected() As
Query whether the connector has been connected.
Returns:
TRUE if this connector is connected.
Example:
 Dim objThisIntf As PspConnector  
 Dim bArg1 As boolean  
  ...
 bArg1 = objThisIntf.IsCntrConnected 
 

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