Rotate (Schematic Editor)
| UI Access | Draw>Rotate | |||||||||
| Parameters |
|
|||||||||
| Return Value | None |
When you record a script, the schematic editor's Rotate command shows the rotation angle for some older scripts in radians, while newer scripts show rotation angle in degrees.
oEditor.Rotate ["NAME:Selections",
"Selections:=", ["CompInst@RES_;1;1:1"]],
["NAME:RotateParameters",
"Angle:=", 1.5707963267949, "Disconnect:=", false, "Rubberband:=", false]
If "Degrees=xxx" is not shown, the rotation must be scaled.
For more information about the component name, schematic IDs, and formats, see the section Editor Scripting IDs.
| Python Syntax | Rotate() |
| Python Example |
|