|
Creating a custom menu can be one of the most productive tasks that an AutoCAD user can tackle. Fortunately, it is not a particularly difficult job if you know AutoCAD reasonably well and can use a text editor, such as Notepad.
Start by creating a new file using Notepad by selecting the Start button, then Programs, then Accessories, then Notepad.
Menu Group The menugroup acts an identifier for the menu. It is used to load and unload the menu items. The name of the menugroup may or may not be the same as the name of the file. The *** indicates a menu section. On the first line of the file type:
***MENUGROUP=MYMENU
Pop Menu A menu section labeled POP identifies a pull down menu. On the next line type:
***POP1
Menu Bar The line following a POP section becomes the menu bar text and is enclosed in brackets. On the next line type:
[My Tools]
Menu Items Menu items follow the menu bar text and are enclosed in brackets as well. The actual operation to be performed when the menu item is select is displayed to the right of the brackets. Type the following lines:
[Fillets] [1/16]^c^cfilletrad 0.0625 fillet [ 1/8]^c^cfilletrad 0.125 fillet [ 1/4]^c^cfilletrad 0.25 fillet
|
|