To create an object shortcut menu (Procedure)

AutoCAD

 
Create a Shortcut Menu
Concept Procedure Quick Reference
 
 
 

To create an object shortcut menu

  1. Click Tools tab Customization panel User Interface. At the command prompt, enter cui.
  2. In the Customize User Interface Editor, Customize tab, in the Customizations In <file name> pane, right-click Shortcut Menus. Click New Shortcut Menu.

    The new shortcut menu (named ShortcutMenu1) is placed at the bottom of the Menus tree.

  3. Do one of the following:
    • Enter a new name over the default name ShortcutMenu1.
    • Right-click ShortcutMenu1. Click Rename. Enter a new shortcut menu name.
    • Click ShortcutMenu1, wait, and click again over the shortcut menu’s name again to edit its name in-place.
  4. In the Properties pane, do the following:
    • In the Description box, optionally enter a description for the shortcut menu.
    • In the Aliases box, click the Ellipsis button. Press ENTER so you are on a new line in the Aliases dialog box. Enter additional aliases for the menu, and after each one entered press ENTER. An alias is automatically assigned, and defaults to the next available POP number, based on the number of shortcut menus already loaded in the program.

      In order for the commands on the shortcut menu to appear when an object or objects of the same type are selected, make sure to use the alias OBJECT_objecttype or OBJECTS_objecttype. For example, if you want the commands on the shortcut menu to appear when a LINE object is selected in the drawing use the alias OBJECT_LINE. The commands from the shortcut menu will appear near the top of the shortcut menu with the alias CMEDIT when it is displayed.

    NoteIf you create a shortcut menu with the alias OBJECTS_objecttype, the commands assigned to the shortcut menu will be displayed when one or more objects are selected before right-clicking over the drawing area.

  5. In the Command List pane, drag the command you want to add to the location just below the shortcut menu in the Customizations In <file name> pane.

  6. Continue adding commands until the new shortcut menu is complete.
  7. Click OK.