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

weAddCustomTransitionMenuItem

weAddCustomTransitionMenuItem(
t_name
t_customTransition
[ t_bindkey ]
)
=> t / nil

Description

Adds a menu item to the context-sensitive menu of the Create Bus command. You can use the added menu item to call the customer SKILL API. A bindkey is also assigned to the menu item.

Arguments

t_name

Name of the menu item in the Create Bus context-sensitive menu.

t_customTransition

Custom SKILL API to be called when the new menu item is clicked.

t_bindkey

Bindkey assigned to the menu item callback.

Value Returned

t

The command ran successfully.

nil

The command failed to run or an error occurred.

Examples

The following example adds a new menu item in the Multi-Layer bus submenu. The name of the menu item is Via To M1/M2/M1/M2/.... . The patternM1M2 is the name of a SKILL procedure that the customer has to define. This SKILL procedure describes how the tool has to behave when the RMB Via To M1/M2/M1/M2/... is clicked.

procedure (myCustomTransition(patternM1M2 cellViewId netLayerPairs)
   (let()
      list("Metal1" Metal2)
   )
)
weAddCustomTransitionMenuItem("Via To M1/M2/M1/M2/..." "patternM1M2")

Related Topics

Interactive and Assisted Routing Functions


Return to top
 ⠀
X