AlignHorizontal (Schematic Editor)

Aligns items horizontally.

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

["NAME:Selections",

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

"Selections:=", IDs to modify]

<AlignParameters> 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 Value
Note:

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

 

Python Syntax AlignHorizontal()
Python Example

oEditor.AlignHorizontal (

["NAME:Selections",

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

],

["NAME:AlignParameters",

"Disconnect:=", false,

"Rubberband:=", false

])