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
|
A boolean value that specifies whether the trunk is horizontal. |
Value Returned
|
List of topology trunks that belong to the specified channel. |
|
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