AlignHorizontal (Schematic Editor)

Align items horizontally

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

Array("NAME:Selections", _

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

"Selections:=", IDs to modify)

<AlignParameters> 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 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:AlignParame­ters", "Disconnect:=", _

false, "Rubberband:=", false])