Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schHiDistribute

schHiDistribute(
s_justify 
[ g_windowId ]
)
=> t

Description

Arranges the objects on the canvas at equal distance from each other. If the objects are already selected on the canvas, the pre-select mode is used; otherwise, the post-select mode is used for distributing the objects.

Arguments

s_justify

The direction in which the objects need to be distributed. Possible values are vertical and horizontal.

g_windowId

The window indicating the cellview where you want to start distributing the objects. If not specified, the current window is used. This is an optional argument.

Value Returned

t

Objects were distributed successfully.

nil

Objects could not be arranged.

Examples

schHiDistribute( 'vertical )
schHiDistribute( 'horizontal hiGetCurrentWindow() )
schHiDistribute( 'vertical window(3) )

Related Topics

Distributing


Return to top
 ⠀
X