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

mgGetColumnRoutingChannelWidth

mgGetColumnRoutingChannelWidth(
d_constraintId
x_channelIndex
)
=> f_channelWidth / nil

Description

Returns the routing channel width of the specified Modgen column.

Arguments

d_constraintId

Modgen constraint ID.

x_channelIndex

Channel index, which indicates the Modgen column for which the channel width needs to be displayed.

Value Returned

f_channelWidth

The channel width of the specified Modgen column.

nil

The channel width could not be retrieved.

Example

The following example returns the routing channel width for the second routing channel column:

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