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

gpeSetOrientText

gpeSetOrientText(
g_tableView
t_orientation
)
=> t / nil

Description

Specifies the grid pattern orientation for the Orient field on the Text tab of the Grid Pattern Editor assistant.

Arguments

g_tableView

Specifies the tableView of the grid.

?orientation t_orientation

Specifies the grid pattern orientation.

Value Returned

t

The grid pattern orientation was assigned.

nil

The command was unsuccessful.

Examples

Specifies orientation (R0)2\n(R0)2\n(R0)2\n(R0)2 to be set to the grid. New lines are indicated by \n and empty spaces are used for separating symbols. The orientation assignment is created by reading from left to right, which corresponds to top left to right bottom in the grid:

gpeSetOrientText(dwindow('gpeGridAsst_1)->tableView "(R0)2\n(R0)2\n(R0)2\n(R0)2")
dwindow('gpeGridAsst_1) => docked window corresponding to GUI gpe grid pattern
dwindow('gpeGridAsst_1)->tableView  => orient pattern widget id for that GUI

For this assignment, (R0)2\n(R0)2\n(R0)2\n(R0)2 expands to:

"R0 R0
 R0 R0
 R0 R0
 R0 R0"
gpeSetOrientText(dwindow('gpeGridAsst_1)->tableView "R0 MX\n R0 R180\nR90 MY\nR0 R0")

For this assignment, R0 MX\n R0 R180\nR90 MY\nR0 R0 expands to:

"R0  MX
 R0  R180
 R90 MY
 R0 R0"

Return to top
 ⠀
X