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

gpeSetGridText

gpeSetGridText(
g_tableView
t_pattern
)
=> t / nil

Description

Specifies a textual grid pattern for the Pattern field on the Text tab of the Grid Pattern Editor assistant.

Arguments

g_tableView

Specifies the tableView of the grid.

t_pattern

Specifies a textual grid pattern.

Value Returned

t

The textual pattern was assigned.

nil

The command was unsuccessful.

Examples

Specifies a textual grid pattern G H\nE F\nC D\nA B to be assigned to the grid. New lines are indicated by \n and empty spaces are used for separating symbols. The pattern is read from left to right, which corresponds to top left to right bottom in the grid:

gpeSetGridText(dwindow('gpeGridAsst_1)->tableView "G H\nE F\nC D\nA B")
dwindow('gpeGridAsst_1) => docked window corresponding to GUI gpe grid pattern
dwindow('gpeGridAsst_1)->tableView  => text pattern widget id for that GUI

Return to top
 ⠀
X