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

mgGetChannelTrunks

mgGetChannelTrunks(
d_mgCon
n_channel
g_isHoriz
)
=> l_topologyTrunks / nil

Description

Returns a list of topology trunks that belong to the specified channel.

Arguments

d_mgCon

Modgen constraint ID.

n_channel

Channel number.

g_isHoriz

A boolean value that specifies whether the trunk is horizontal.

Value Returned

l_topologyTrunks

List of topology trunks that belong to the specified channel.

nil

The list of topology trunks could not be retrieved.

Example

Returns a list of topology trunks that belong to the given channel.

mgId = car(geGetEditCellView()~>figGroups) 
mgCon = mgGetConstraintFromFG(mgId)
printf("Number of trunks in horizontal channel 1 = %d\n"
length(mgGetChannelTrunks(mgId 1 t)))
printf("Number of trunks in vertical channel 3 = %d\n"
length(mgGetChannelTrunks(mgId 3 nil)))

Return to top
 ⠀
X