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

mgSetColumnRoutingChannelWidth

mgSetColumnRoutingChannelWidth(
d_constraintId
x_channelIndex
f_channelWidth
)
=> f_channelWidth / nil

Description

Sets the routing channel width for the specified Modgen column.

Arguments

d_constraintId

Modgen constraint ID.

x_channelIndex

Channel index indicates the Modgen column for which the specified channel width needs to be set. Column number 0 refers to channel to the left of Modgen, column number 1 indicates the first channel to the right, column number 2 indicates the second channel to the right, and so on.

f_channelWidth

Channel width to be set for the specified Modgen column.

Value Returned

f_channelWidth

The channel width that was set for the specified Modgen column.

nil

The channel width could not be set.

Example

The following example sets the routing channel width for the first two routing channel columns:

c = car(ciCacheGet(geGetEditCellView())->constraints)
when(c
    mgSetColumnRoutingChannelWidth(c 1 0.5)
    mgSetColumnRoutingChannelWidth(c 2 0.6)
    channelWidth = mgGetColumnRoutingChannelWidth(c 2)
)

Return to top
 ⠀
X