Product Documentation
OrCAD Capture User Guide
Product Version 17.4-2020, June 2020

Customizing Menus and Toolbars

You can now customize the menus and toolbars in OrCAD Capture. As a result, any TCL methods that you want to be able to run from the menus is possible. You can also specify your own icons for the menus or toolbars items.

Pop-up or context-sensitive menus cannot be customized.

The resource files for menus and toolbars including the icons are located at:

<Cadence_installation>\share\orResources

To add a menu, you need to specify the following information:

  • the menu label
  • name of TCL method to be called on menu click
  • location of the menu in existing menu items
  • TCL method to enable and grey out the menu item
  • an optional icon

Following is the syntax to add a new menu item:

<menuItem name="<menu name tag>">

<type>popup/action</type>

<label>Menu Label</label>

<enabled>true/false</enabled>

<children>

<menuItem name="<child menu tag>">

<type>action/popup</type>

<label>Child Label</label>

<enabled>true/false</enabled>

<action>TCL Action tag</action>

<update>TCL Update tag</update>

<image_16x16>image path</image_16x16>

<image_24x24>image path</image_24x24>

</menuItem>

</children>

</menuItem>

You can also add menus dynamically using TCL commands.