Rotate [Schematic]

Rotate items.

UI Access Draw>Rotate
Parameters
Name Type Description
<Selections> Array

Array("NAME:Selections", _

"Page:=", page number, _ // [Opt=1] Page number

"Selections:=", IDs to modify))

<RotateParameters> Array

Array("NAME:RotateParameters", _

"Disconnect:=", bool _ // [Opt=0] Should wires disconnect

"Rubberband:=", bool _ // [Opt=1] Should wires staircase

"Angle:=", double) // [Opt=/2] Angle to rotate

Note: Rotation occurs around center of ids

Return Value None

 

Python Syntax Rotate()
Python Example

oEditor.Rotate (["NAME:Selections", "Selections:=",

["CompInst@R;2;4", "CompInst@C;1;1"]],

["NAME:RotateParameters","Degrees:=", 90, "Disconnect:=", _

false, "Rubberband:=", false])

 

VB Syntax Rotate()
VB Example

oEditor.Rotate Array("NAME:Selections", "Selections:=",

Array("CompInst@R;2;4", "CompInst@C;1;1")),

Array("NAME:RotateParameters","Degrees:=", 90, "Disconnect:=", _

false, "Rubberband:=", false)