editing zoom for short cut

renneker

Usenet Archive
Joined
Jul 26, 2003
Messages
1
Reaction score
0
I would like to know which file to edit pgp or ?. How do I make the keyboard to be able to use ze, zd, za and ect. Instead of z then enter then d,a,e,and ect. Please reply, James Renneker
 
Actually, you *cannot* add shortcuts of commands *and their options* to the Acad.pgp file; it only permits shortcuts of the commands themselves.

The simple (and effective) Visual LISP function that Joe posted works well, but would be better if placed in the AcadDoc.lsp file, instead of the Acad.lsp file (as Acad.lsp is normally loaded only once per session, while AcadDoc.lsp is loaded for each document opened).

There is also a bug since A2k <sigh, fix it Autodesk!> that might affect you. In some situations, if you select a drawing off the Most Recent Used list on the File menu, none of the code in the Acad*.lsp files will run. However, if you have a customized menu, place all this code in the menu's ..mnl file, and it *will* load.
 
The point is, that your advice won't work for the "typical" installation. It might work for you, but you posted your advice for the general public.
 
You could make enter them in the ACAD.lsp file, and then under preferences "system", tell AutoCAD to load the ACAD.lsp file with every drawing. But how would this affect memory? Would it not accomplish the same as if placed in the "acad2000doc.lsp". And, what is the primary differences between ACAD.lsp, and the ACAD2000doc.lsp?
 

Latest threads

Back
Top