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

mgGetTrunkChannel

mgGetTrunkChannel(
d_mgConId
d_trunkId
)
=> x_channel / nil

Description

Returns the channel number in which the specified topological trunk pattern is located.

Arguments

d_mgConId

Database ID of the Modgen constraint in which the specified topological trunk pattern is located.

d_trunkId

Database ID of the topological trunk pattern.

Value Returned

x_channel

Integer indicating the number of the row or column in which the topological trunk pattern is located in the Modgen.

nil

The topological trunk object was not found.

Example

cv = geGetEditRep()
mgConId = car(ciCacheListCon(ciCacheGet(cv)))
; Assume the user has selected a physical trunk (pathSeg) in the Modgen
topoTrunk = mgGetTrunkTopo(css())
channel = mgGetTrunkChannel(mgConId topoTrunk)

Return to top
 ⠀
X