All Frameworks  Object Hierarchy  This Framework  Indexes   

SchMovable (Object)

Manage the transformation of a schematic component.

Method Index

Rotate
Rotate a schematic object with an angle in radian.
ScaleSelectedObjects
Scale a list of schematic objects with a scale factor.
Scale
Scale a schematic object with a scale factor.
Transform
Transform a schematic object with a transformation matrix.
Translate
Translate a schematic object with a vector.

Methods


o Sub Rotate( 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
 
o Sub ScaleSelectedObjects( iLCntblToScale,
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
 
o Sub Scale( 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
 
o Sub Transform( 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
 
o Sub Translate( 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
 

Copyright © 2003, Dassault Systèmes. All rights reserved.