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

gpeSetGridEntry

gpeSetGridEntry(
u_sandbox
l_gridEntry
[ ?verbose { t | nil } ]
)
=> t / nil

Description

Adds the specified grid entry to the grid portion of the specified Modgen sandbox object. If the grid location specified in the grid entry is already occupied, the existing entry is unplaced, and the specified grid entry is set.

Arguments

u_sandbox

Specifies a Modgen sandbox object.

l_gridEntry

Specifies the Modgen sandbox grid entry DPL to be added. The grid entry must have a row, column, and at least one instance specifier such as a symbol, schematic name, or dummyConfig.

?verbose { t | nil }

Controls the display of warning messages.

Value Returned

t

The grid DPL was updated.

nil

The grid DPL could not be updated.

Example

In the following example, a grid entry is created using gpeCreateGridEntry. The return value is assigned to gridEntry. This value and an sbox value are passed as arguments to gpeSetGridEntry:

gridEntry = gpeCreateGridEntry(?row 1 ?col 1 ?name "B")
=> (nil name "B" col 1 row 1)
gpeSetGridEntry(sbox gridEntry)
=> t

Return to top
 ⠀
X