rookie37 Posted August 26, 2008 Posted August 26, 2008 Is there a way to replace the scroll wheel with the keyboard? I was thinking of using the keypad. Can this be written as transpearent? defun 8 pan up defun 4 pan left defun 2 pan down defun 6 pan right defun 9 zoom out defun 3 zoom in defun 5 zoom center This would be a great help to me. I think it would be a great help to MANY people. just check out the thread about mouse pain. It is a very popular thread. panning, zooming and wrist movement that can be replaced with a keypad will greatly reduce mouse pain Quote
borgunit Posted August 26, 2008 Posted August 26, 2008 Here are some modifiers I added for CTRL-ARROW_KEYS to pan around the drawing. I added this to our menu files. You can go from there for your own keys. ***ACCELERATORS [CONTROL+"UP"]'-pan ^P(trans (list 0 (* -0.25 (getvar "viewsize"))) 0 1) ;^P [CONTROL+"DOWN"]'-pan ^P(trans (list 0 (* 0.25 (getvar "viewsize"))) 0 1) ;^P [CONTROL+"LEFT"]'-pan ^P(trans (list (* 0.25 (getvar "viewsize")) 0) 0 1) ;^P [CONTROL+"RIGHT"]'-pan ^P(trans (list (* -0.25 (getvar "viewsize")) 0) 0 1) ;^P Quote
rookie37 Posted August 27, 2008 Author Posted August 27, 2008 Here are some modifiers I added for CTRL-ARROW_KEYS to pan around the drawing. I added this to our menu files. You can go from there for your own keys. ***ACCELERATORS [CONTROL+"UP"]'-pan ^P(trans (list 0 (* -0.25 (getvar "viewsize"))) 0 1) ;^P [CONTROL+"DOWN"]'-pan ^P(trans (list 0 (* 0.25 (getvar "viewsize"))) 0 1) ;^P [CONTROL+"LEFT"]'-pan ^P(trans (list (* 0.25 (getvar "viewsize")) 0) 0 1) ;^P [CONTROL+"RIGHT"]'-pan ^P(trans (list (* -0.25 (getvar "viewsize")) 0) 0 1) ;^P Can this be done without hitting control? I tried changing [CONTROL+"UP"]' to ["UP"]' didn't work Quote
borgunit Posted August 27, 2008 Posted August 27, 2008 I am sure AutoCAD only allows these with "modifiers". Those are ALT or SHIFT or CTRL. This may help http://www.pseudology.org/cad/AcceleratorKey.htm Quote
rookie37 Posted August 27, 2008 Author Posted August 27, 2008 Thanks foe your help! I'm almost there. I'm using accelerators on the numberpad However, I'm having trouble with zoom center below sort of works but it isn't practicle ["NUMPAD5"]'zoom;c;/;;; How do I write it without the pause for user input? Quote
borgunit Posted August 28, 2008 Posted August 28, 2008 You would probably have to tell it where center is (calc first), and then magnification/height. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.