Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

lxHiSwap

lxHiSwap(
[ w_windowID ]
)

Description

Swaps instances and figGroups by launching the Swapping Components command. You can pre-select, partial-select, or post-select instances and figGroups. You can use the function to swap by origin with an option to swap with transform, or you can select one of the nine points on a bounding box: lower-left, center-left, upper-left, lower-center, center-center, upper-center, lower-right, center-right, or upper-right.

Arguments

w_windowID

ID of the window, if provided, on which the instances (or figGroups) need to be swapped.

Value Returned

None

Example

lxHiSwap()

Swaps the selected instances or figGroups in the current window ID.

lxHiSwap(hiGetCurrentWindow())

Swaps the selected instances or figGroups in the specified window.

Related Topics

Swapping Components


Return to top
 ⠀
X