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

axlGetCustomOutputResultMenu

axlGetCustomOutputResultMenu(
[ g_adeSession ]
)
=> l_commandDetails

Description

A callback function that you can use to add custom commands in the shortcut menu of the Results tab of Virtuoso ADE Explorer and Virtuoso ADE Assembler. These products call this function to get the custom command names and the associated callback functions to be added to the menu.

Arguments

g_adeSession

Handle to the session associated with the test for which you want to add the custom commands.

Value Returned

l_commandDetails

A list containing the command name, callback name, and the value of disable flag. These return values are used by the tool to add the given commands to the shortcut menu and process them when clicked by a user.

Examples

The following example shows how to add a custom command using this function:

adeSession=asiGetCurrentSession()
=> stdobj@0x38a3d128
procedure( axlGetCustomOutputResultMenu( @key adeSession )
    let(((menuList nil) disableFlag)
    cmd = sprintf(nil "cmenu('%L %L)" adeSession asiGetPsfDir(sevEnvironment(adeSession)))
    menuList = '(("testMenu" ,cmd ,disableFlag))
    menuList
    )
)
function axlGetCustomOutputResultMenu redefined
axlGetCustomOutputResultMenu

Return to top
 ⠀
X