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
|
Name of the menu item in the Create Bus context-sensitive menu. |
|
|
Custom SKILL API to be called when the new menu item is clicked. |
|
Value Returned
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