pycatia.cat_sch_platform_interfaces.sch_cntr_location¶
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_location.SchCntrLocation(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchCntrLocationManage the location of a schematic connector.- get_align_vector(i_grr: SchGRR, o_db2_align_vector: SchListOfDoubles) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetAlignVector(SchGRR iGRR,SchListOfDoubles oDb2AlignVector)Get the current alignment vector of the connector.Parameters:iGRRPointer to the graphical primitive or the graphical image or thegraphical primitives of the owner of the connector.oDb2AlignVectorX-Y component of the current alignment vector of the connector.Example:Dim objThisIntf As SchCntrLocationDim objArg1 As SchGRRDim objArg2 As SchListOfDoubles…objThisIntf.GetAlignVectorobjArg1,objArg2
- Parameters:
i_grr (SchGRR) –
o_db2_align_vector (SchListOfDoubles) –
- Return type:
None
- get_position(i_grr: SchGRR, o_db2_position: SchListOfDoubles) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetPosition(SchGRR iGRR,SchListOfDoubles oDb2Position)Get the current position of the connector in absolutecoordinates.Parameters:iGRRPointer to the graphical primitive or the graphical image or thegraphical primitives of the owner of the connector.oDb2PositionAbsolute X-Y coordinates of the current position of the connector.Example:Dim objThisIntf As SchCntrLocationDim objArg1 As SchGRRDim objArg2 As SchListOfDoubles…objThisIntf.GetPositionobjArg1,objArg2
- Parameters:
i_grr (SchGRR) –
o_db2_position (SchListOfDoubles) –
- Return type:
None
- get_relative_position(o_db2_relative_position: SchListOfDoubles) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub GetRelativePosition(SchListOfDoublesoDb2RelativePosition)Get the current position of the connector in relativecoordinates.Parameters:oDb2RelativePositionrelative X-Y coordinates of the current position of the connector.Example:Dim objThisIntf As SchCntrLocationDim objArg1 As SchListOfDoubles…objThisIntf.GetRelativePositionobjArg1
- Parameters:
o_db2_relative_position (SchListOfDoubles) –
- Return type:
None
- set_align_vector(i_grr: SchGRR, i_db2_align_vector: tuple) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetAlignVector(SchGRR iGRR,CATSafeArrayVariant iDb2AlignVector)Set the current alignment vector of the connector.Parameters:iGRRPointer to the graphical primitive or the graphical image or thegraphical primitives of the owner of the connector.iDb2AlignVectorX-Y component of the current alignment vector of the connector tobe set.Example:Dim objThisIntf As SchCntrLocationDim objArg1 As SchGRRDim dbVar2(2) As CATSafeArrayVariant…objThisIntf.SetAlignVectorobjArg1,dbVar2
- Parameters:
i_grr (SchGRR) –
i_db2_align_vector (tuple) –
- Return type:
tuple
- set_position(i_grr: SchGRR, i_db2_position: tuple) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetPosition(SchGRR iGRR,CATSafeArrayVariant iDb2Position)Set the current position of the connector in absolute coordinates. Allconnectors on multi-images are affected because the relative position onconnect will be changed accordingly.Parameters:iGRRPointer to the graphical primitive or the graphical image or thegraphical primitives of the owner of the connector..iDb2Positionabsolute X-Y coordinates of the current position of the connectorto be set.Example:Dim objThisIntf As SchCntrLocationDim objArg1 As SchGRRDim dbVar2(2) As CATSafeArrayVariant…objThisIntf.SetPositionobjArg1,dbVar2
- Parameters:
i_grr (SchGRR) –
i_db2_position (tuple) –
- Return type:
tuple
- set_relative_position(i_db2_relative_position: tuple) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub SetRelativePosition(CATSafeArrayVariantiDb2RelativePosition)Set the current position of the connector in absolutecoordinates.Parameters:iDb2RelativePositionrelative X-Y coordinates of the current position of the connectorto be set.Example:Dim objThisIntf As SchCntrLocationDim dbVar1(2) As CATSafeArrayVariant…objThisIntf.SetRelativePositiondbVar1
- Parameters:
i_db2_relative_position (tuple) –
- Return type:
tuple