Menu Swapping

Menu swapping is activating one menu directly from another menu. Menu swapping is supported for the following menu sections:

Because AutoCAD LT has cascading pull-down menus, there is little need to swap menus. Also, swapping menus can detract from the consistency of the user interface. However, using $ commands, you can swap pull-down menus and submenus.

Note: The swapping of POP menus does not conform to the Microsoft user interface guidelines and is not guaranteed to be available in future releases of AutoCAD LT.

For menu-swapping purposes, the pull-down menu areas are named P1 through P16. The title that appears in the menu bar is the title from the first line of the menu section, so you can change the title by replacing that line of the menu with a $Pn= command. You can use the special command $Pn=* from within any menu item to force the menu currently assigned to area POPn to pull down on the screen for greater flexibility in movement of the pointing device.

The syntax for the swapping of partial menus is as follows:

$section=menugroup.menuname
where

menugroup menuname
section B14, A14, P116, or T14
Menu group name in the menu file desired
Main label or alias for the section

Controlling Toolbars across Partial Menus

To control toolbars across partial menus, use the following syntax at the Toolbar Name prompt of TOOLBAR.

menugroup.subsection-name

This syntax accesses the toolbar identified by menugroup. menuname and allows you to use the full spectrum of TOOLBAR command options on that toolbar.

If menugroup is left out of any of these commands and/or functions, then AutoCAD LT defaults to the base menu.

You should be aware of the following:

You may swap menus only of the same type - one Aux for another, one Pop for another, and so on. Trying to swap between types may result in unpredictable behavior. However, within a given type, you can swap any menu for any other menu. This can lead to strange behavior for Tablet menus, because they typically do not all have the same number of macros.