pycatia.cat_sch_platform_interfaces.sch_cntr_connect

Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357

Warning

The notes denoted “CAA V5 Visual Basic Help” are to be used as reference only. They are there as a guide as to how the visual basic / catscript functions work and thus help debugging in pycatia.

class pycatia.cat_sch_platform_interfaces.sch_cntr_connect.SchCntrConnect(com_object)

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)

System.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
SchCntrConnect

Manage the a schematic connector.
get_transform_matrix(i_grr_cntr: SchGRRCntr, o_db6_matrix: SchListOfDoubles) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub GetTransformMatrix(SchGRRCntr iGRRCntr,
SchListOfDoubles 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
Parameters:
Return type:

None

ok_to_connect(i_grr_cntr: SchGRRCntr, o_b_yes: bool) None

Note

CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
o Sub OKToConnect(SchGRRCntr iGRRCntr,
boolean 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
Parameters:
Return type:

None