AlignVertical (Schematic Editor)

Align items vertically

UI Access Draw>Align Vertical
Parameters
Name Type Description
<Selections> Array

Array("NAME:Selections", _

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

"Selections:=", IDs to modify)

<Align Parameters> Array

Array("NAME:AlignParameters", _

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

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

Note: Alignment occurs relative to the first item in ids

Return Value None

 

Note:

For more information about the component name, schematic IDs, and formats, see the section Editor Scripting IDs.

 

Python Syntax AlignVertical()
Python Example

oEditor.AlignVertical (["NAME:Selections", "Selections:=", ["CompInst@R;2;4", _

"CompInst@C;1;1"]], ["NAME:AlignParameters", "Disconnect:=", false, "Rubberband:=", _

false])