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

gpeSetChannelWidthEntry

gpeSetChannelWidthEntry(
u_sandbox
x_index
t_direction
g_channelWidth
[ ?verbose { t | nil } ]
)
=> t / nil

Description

Sets the channelWidth for the specified channel.

Arguments

u_sandbox

Specifies a Modgen sandbox object.

x_index

Specifies the channel number.

t_direction

Specifies the direction of the channelWidth sandbox object. Valid values are horizontal and vertical.

g_channelWidth

Specifies the channel width to be set, typically created by a call to gpeCreateChannelWidthEntry.

?verbose { t | nil }

Controls the display of warning messages.

Value Returned

t

The channelWidth was set.

nil

The command was unsuccessful.

Example

In the following example, gpeCreateChannelWidthEntry is run, and its return values are stored in cw. gpeEditSandbox is run and its return values are stored in sandbox. cw and sandbox values are used as arguments in gpeChannelWidthEntry:

cw = gpeCreateChannelWidthEntry(?width 0.3 ?reference list("Metal1" "drawing"))
sandbox = gpeEditSandbox(leGetEditFigGroup())
gpeSetChannelWidthEntry(sandbox 2 "horizontal" cw)

Return to top
 ⠀
X