PK Automation  


 

How to modify the ACAD.MNU to support Panning with a wheel mouse.

1. Type AIM2 at the AutoCAD command line, press the settings button.

2. Select how you want pan to be activated.

a. if you select "None" then AUX1 needs to be referenced later (see below)

b. if you select "Shift" then AUX2 needs to be referenced.

c. if you select "Control" then AUX3 needs to be referenced.

3. The AUX entries above are groups in the ACAD.MNU file. Locate and
make a copy of ACAD.MNU, its usually in the support subdirectory
where AutoCAD is installed. If you use custom menus then you will
need to locate it and follow the instructions below.

4. After you've made a copy of ACAD.MNU open it for editing using
wordpad or some other text editor.

5. Find the line that reads ***AUXn (where n is based on your selection
in instruction 2.

6. Each line below the ***AUXn is assigned to a button on the mouse. The
lines that start with // are coments and are not assigned. The first assigned
line represents the right mouse button. The second assigned line is the
wheel button.

7. For the line assigned to the wheel change it to read:
^z

8. Save ACAD.MNU and restart AutoCAD if its not currently running.

9. At the AutoCAD command line type MENU.

10. A file dialog box will appear, change the file type selection to MNU.

11. Locate and select the modified ACAD.MNU file then press the
open button.

12. You may get a warning about loosing toolbar customization, this
can't be help and you will need to select the yes button to get the
customized menu.

13. Panning should now work without a menu poping up. If you do
get a pop up check that the AIM2 settings match the AUX settings
mentioned above.

Here is a sample of what I did to the AUX1 menu item, recall AUX1
allows panning just by pressing the wheel button without a shift or
control key being pressed, the line in red is what was modified:

//
// Begin System Pointing Device Menus
//
***AUX1
// Simple button
// if a grip is hot bring up the Grips Cursor Menu (POP 17), else send a carriage return
$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,5),GRIP_),$P0=ACAD.GRIPS $P0=*);
^Z
^C^C
^B
^O
^G
^D
^E
^T

 

Send mail to webmaster@pkautomation.com with questions or comments about this web site.
Copyright © 2004 Paul Kohut
Last modified: October 29, 2004