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.IUnknown
System.IDispatch
System.CATBaseUnknown
System.CATBaseDispatch
System.AnyObject
SchMovable

Manage 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:

iDb1RotationAngleInRadian
Rotation 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:

oDb1ScaleFactor
The 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:

iLCntblToScale
List of selected objects to scale.
oDb1ScaleFactor
The current scale factor.

Example:

Dim objThisIntf As SchMovable
Dim objArg1 As SchListOfObjects

objThisIntf.ScaleSelectedObjectsobjArg1,objArg1
Parameters:
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:

iDb6TransMatrix
Transformation matrix. See

SchGRRComp.GetTransformation2D for explanation of this argument.

Example:

Dim objThisIntf As SchMovable
Dim 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:

iDb2Vector
X-Y components of a translation vector.

Example:

Dim objThisIntf As SchMovable
Dim dbVar1(2) As CATSafeArrayVariant
objThisIntf.TranslatedbVar1
Parameters:

i_db2_vector (tuple) –

Return type:

tuple