pycatia.cat_sch_platform_interfaces.sch_movable¶
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_movable.SchMovable(com_object)¶
Note
CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357)
System.IUnknownSystem.IDispatchSystem.CATBaseUnknownSystem.CATBaseDispatchSystem.AnyObjectSchMovableManage the transformation of a schematic component.- rotate(i_db1_rotation_angle_in_radian: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Rotate(double iDb1RotationAngleInRadian)Rotate a schematic object with an angle in radian.Parameters:iDb1RotationAngleInRadianRotation angle (from x-axis) in radian.Example:Dim objThisIntf As SchMovable…objThisIntf.Rotate
- Parameters:
i_db1_rotation_angle_in_radian (float) –
- Return type:
None
- scale(i_db1_scale_factor: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Scale(double iDb1ScaleFactor)Scale a schematic object with a scale factor.Parameters:oDb1ScaleFactorThe current scale factor of the component.Example:Dim objThisIntf As SchMovable…objThisIntf.Scale
- Parameters:
i_db1_scale_factor (float) –
- Return type:
None
- scale_selected_objects(i_l_cntbl_to_scale: SchListOfObjects, i_db1_scale_factor: float) None ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub ScaleSelectedObjects(SchListOfObjects iLCntblToScale,double iDb1ScaleFactor)Scale a list of schematic objects with a scale factor.Parameters:iLCntblToScaleList of selected objects to scale.oDb1ScaleFactorThe current scale factor.Example:Dim objThisIntf As SchMovableDim objArg1 As SchListOfObjects…objThisIntf.ScaleSelectedObjectsobjArg1,objArg1
- Parameters:
i_l_cntbl_to_scale (SchListOfObjects) –
i_db1_scale_factor (float) –
- Return type:
None
- transform(i_db6_trans_matrix: tuple) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Transform(CATSafeArrayVariant iDb6TransMatrix)Transform a schematic object with a transformation matrix.Parameters:iDb6TransMatrixTransformation matrix. SeeSchGRRComp.GetTransformation2D for explanation of this argument.Example:Dim objThisIntf As SchMovableDim dbVar1(6) As CATSafeArrayVariant…objThisIntf.TransformdbVar1
- Parameters:
i_db6_trans_matrix (tuple) –
- Return type:
tuple
- translate(i_db2_vector: tuple) tuple ¶
Note
- CAA V5 Visual Basic Help (2020-09-25 14:34:21.593357))
- o Sub Translate(CATSafeArrayVariant iDb2Vector)Translate a schematic object with a vector.Parameters:iDb2VectorX-Y components of a translation vector.Example:Dim objThisIntf As SchMovableDim dbVar1(2) As CATSafeArrayVariant…objThisIntf.TranslatedbVar1
- Parameters:
i_db2_vector (tuple) –
- Return type:
tuple