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.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchCntrConnectManage 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 becoincident and aligned with the ‘connect to’ connector. NOTE: “alignment” inthis context means that the connectors’ alignment vectors are facing oppositedirections.Parameters:iGRRCntrPointer to the image of the ‘connect to’ connector.oDb6MatrixTransformation matrix. for explanation of this argument.Example:Dim objThisIntf As SchCntrConnectDim objArg1 As SchGRRCntrDim objArg2 As SchListOfDoubles…objThisIntf.GetTransformMatrixobjArg1,objArg2
- Parameters:
i_grr_cntr (SchGRRCntr) –
o_db6_matrix (SchListOfDoubles) –
- 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:iGRRCntrPointer to the image of the ‘connect to’ connector.oBYesIf TRUE, then it is OK to connect.Example:Dim objThisIntf As SchCntrConnectDim objArg1 As SchGRRCntrDim bVar2 As boolean…objThisIntf.OKToConnectobjArg1,bVar2
- Parameters:
i_grr_cntr (SchGRRCntr) –
o_b_yes (bool) –
- Return type:
None