Working With Scripts on Shortcut Menus

You can attach a script to the shortcut menu for any node in the ProAVA2 Explorer tab.

Command

Description

Script name

Executes the specified script.

Add script to menu

Displays the Component Library Browser dialog box so that you can select a function or script. The name of the script is appended to the shortcut menu of the selected node.

Remove script from menu

Displays the Select scripts to remove dialog box. Select the label of the script you want to remove and click OK.

When you run a script, the Python tab displays:

execfile(r"pathToScript")

If the script prints any output or produces an error message, the output or error message usually appears in the Python tab.