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

gpeSetSize

gpeSetSize(
g_tableView
l_dimensions
['stable | 'nostable]
[ n_rows ]
[ n_columns ]
)
=> t / nil

Description

Resizes the specified Grid Pattern Editor table. If the table dimensions are smaller or larger than the new dimensions, then rows or columns are added or removed, as needed.

Arguments

g_tableView

The tableView name.

l_dimensions

New dimensions of the Grid Pattern Editor table.

'stable | 'nostable

Stability status of the table.

n_rows

Number of rows to be generated in the new table.

n_columns

Number of columns to be generated in the new table.

Value Returned

t

The Grid Pattern Editor table could be resized.

nil

The Grid Pattern Editor table could not be resized.

Example

Resizes the current table to 4 rows by 4 columns:

gpeSetSize(dwindow('gpeGridAsst_1) 4 4)

Resizes a 4x4 grid to 8x8, while rearranges the 16 original cells to the bottom 2 rows (2 rows x 8 columns) to the bottom 2 rows (2 rows x 8 columns):

gpeSetSize(dwindow('gpeGridAsst_1) 8:8 'nostable)

Return to top
 ⠀
X