AlignVertical (Schematic Editor)

Aligns items vertically.

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

["NAME:Selections",

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

"Selections:=", IDs to modify]

<Align Parameters> 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

])