All Frameworks  Object Hierarchy  This Framework  Indexes   

SchCompConnector (Object)

Manage the connectors of a schematic component.

Method Index

AddConnector
Add a connector.
AddDynamicConnector
Add a dynamic connector.
RemoveConnector
Remove a connector.

Methods


o Sub AddConnector( iClassType,
iGRR,
iDb2CntrPosition,
oNewSchCntr)
Add a connector.
Parameters:
iClassType
Class type of the connector to be added.
iGRR
The graphical image of the component to add the connector to. If NULL, connector will be added to all representations.
iDb2CntrPosition
The position of the connector (optional, it could be NULL).
oNewSchCntr
The new Schematic Connector object created.
Example:
 Dim objThisIntf As SchCompConnector
 Dim strVar1 As String
 Dim objArg2 As SchGRRComp
 Dim dbVar3(2) As CATSafeArrayVariant
 Dim objArg4 As SchAppConnector
  ...
 objThisIntf.AddConnectorstrVar1,objArg2,dbVar3,objArg4
 
o Sub AddDynamicConnector( iClassType,
iGRR,
iDb2CntrPosition,
oNewSchCntr)
Add a dynamic connector.
Parameters:
iClassType
Class type of the connector to be added.
iGRR
The graphical image of the component to add the connector to. If NULL, connector will be added to all representations.
iDb2CntrPosition
The position of the connector (optional, it could be NULL).
oNewSchCntr
The new Schematic Connector object created.
Example:
 Dim objThisIntf As SchCompConnector
 Dim strVar1 As String
 Dim objArg2 As SchGRRComp
 Dim dbVar3(2) As CATSafeArrayVariant
 Dim objArg4 As SchAppConnector
  ...
 objThisIntf.AddDynamicConnectorstrVar1,objArg2,dbVar3,objArg4
 
o Sub RemoveConnector( iGRR,
iCntrToRemove)
Remove a connector.
Parameters:
iCntrToRemove
The schematic connector object to be removed
iGRR
The graphical image of the component to remove the connector from. If NULL, connector will be removed from all representations.
Example:
 Dim objThisIntf As SchCompConnector
 Dim objArg1 As SchGRRComp
 Dim objArg2 As SchAppConnector
  ...
 objThisIntf.RemoveConnectorobjArg1,objArg2
 

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