Personal Menus in AutoCAD 2000
The following was extracted from a presentation given by John Clauson during GCAUG's September 2000 meeting. At the meeting Clauson demonstrated how to customize a separate personal menu to protect it from changes to any other menu. This brief tutorial below will show you how to create toolbars in a personal menu and how to even make the menu portable.
Note the following should work on versions R13, R14, 2000, and 2000i.
|
Advantages
Overview
Make a menu template.
MENULOAD the menu.
Create your toolbars and icons.
Rename the icon files.*
Edit the menu with the new icon file names*
* (optional, for portability)
Create the menu file
Start a new text file in Notepad or other text editor.
Precede comment lines with double slashes //
Type the names of the menu group and toolbar section:
***MENUGROUP = JOHN
***TOOLBARS
Save the file in a folder in the AutoCAD search path. Example:-
C:\PROGRAM FILES\AUTOCAD 2000\SUPPORT\JBC.MNS
Load the menu
Type MENULOAD. Click Browse and select your new menu file. Click Load.
Create a toolbar
Right click on a tool button or in a docking area. Select Customize.
Click New. Enter the toolbar name. Be sure to select your menu group. Click OK.
Click Customize. Copy icons or create new ones as usual.
Make it portable
Open the menu file in a text editor. Note the name(s) of your new icon(s).
Find the icons and rename them as desired (Ex: ICON4664.bmp to endia.bmp). Tip: use Explorer's FIND function.
Edit the menu files and replace the icon names with the new ones.
Notes
You may find your new icon bitmap files in various locations. Move them to a folder that's in the AutoCAD search path.
You might find that using MS Paint, or any bitmap editor, is easier than the built in editor for making icon files. For best results, save them as 16 color BMP files. (Small icons are 15 pixels tall and 16 wide, large icons are 30x32.)
When everything works OK, save the MNS and BMP files to separate, permanent storage. To use the menu on another machine, copy all the files to a directory in the AutoCAD search path and load the menu as described above.
You can add popups and pull downs to your file, just like any other menu.
o0o
|