Context Menu Population

The context menu will be populated by parsing the words within square brackets of the command line options.

Starting in AutoCAD 2000, the context (or right-click) menus intercept the strings going to the command line, read the options that are between the square brackets, and present each option between slash (/) characters as a selectable item on the menu. In addition, the default option (between angle brackets) will be presented to the user as a context menu item.

Because of this dependency, developers should follow the formats as outlined in this specification if they want to take advantage of this functionality. Prompts should also be structured so that they don't present a problem when listed in a pop-up menu.