SchCntrConnect (Object)

Manage the a schematic connector.

Methods


Sub GetTransformMatrix( iGRRCntr, oDb6Matrix)
Get the transformation matrix needed to transform 'this' connector to be coincident and aligned with the 'connect to' connector. NOTE: "alignment" in this context means that the connectors' alignment vectors are facing opposite directions.
Parameters:
iGRRCntr
Pointer to the image of the 'connect to' connector.
oDb6Matrix
Transformation matrix. for explanation of this argument.
Example:
 
 Dim objThisIntf As SchCntrConnect
 Dim objArg1 As SchGRRCntr
 Dim objArg2 As SchListOfDoubles
  ...
 objThisIntf.GetTransformMatrixobjArg1,objArg2
 
Sub OKToConnect( iGRRCntr, oBYes)
Query whether 'this' connector can be connected to the specified connector, that is, whether their positions are coincident.
Parameters:
iGRRCntr
Pointer to the image of the 'connect to' connector.
oBYes
If TRUE, then it is OK to connect.
Example:
 
 Dim objThisIntf As SchCntrConnect
 Dim objArg1 As SchGRRCntr
 Dim bVar2 As boolean
  ...
 objThisIntf.OKToConnectobjArg1,bVar2