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

gpeMove

gpeMove(
g_tableView
[ g_cells ]
g_fromAnchor
g_toAnchor
)
=> t / nil

Description

Moves a list of cells within the Grid Pattern Editor table from one point to another.

Arguments

g_tableView

The tableView for which cells need to be moved.

g_cells

(Optional) List of cells to move. This option defaults to the current selection.

g_fromAnchor

A cell, usually in the list of cells, to be moved.

g_toAnchor

The target cell.

Value Returned

t

The specified list of cells have been moved within the Grid Pattern Editor table.

nil

The cells could not be moved.s

Examples

In a 4x4 grid, to move a cell from the top right corner to the bottom left corner:

tv = dwindow('gpeGridAsst_1)->tableView  ; get tableView
gpeSelect(tv 3:3) ; select top right corner cell
gpeMove(tv 3:3 0:0)   ; move from top right to bottom left

To move three cells in the top left corner down by two rows:

gpeMove(tv list(3:0 3:1 2:0) 2:0 0:0)

Return to top
 ⠀
X