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

mgSwapCB

mgSwapCB(
t_swap
)
=> nil

Description

Swaps two selected instances, two rows of instances, or two columns of instances in Modgen.

Arguments

t_swap

Swaps the two selected instances, rows, or columns.

Valid values: inst, row, or col.

Examples

In this example, the selected instances are swapped.

mgSwapCB("inst")

In this example, the selected rows are swapped.

mgSwapCB("row")

In this example, the selected columns are swapped.

mgSwapCB("col")

Return to top
 ⠀
X