Zoom In and Zoom Out Input Scale Options
Jabbajeff
11 Feb 2025
ZOOMIN and ZOOMOUT
Can anyone tell me how I adjust the scale parameters for the above command?
When I type ZOOMIN, I get an Input Scale of 2
When I type ZOOMOUT, the Input Scale changes to 0.25
I understand that I can change the scale once I've typed in the command but what if I want an automatic value when I enter the command?
Is there an over ride command which lets me change them to any value I want?
Can anyone tell me how I adjust the scale parameters for the above command?
When I type ZOOMIN, I get an Input Scale of 2
When I type ZOOMOUT, the Input Scale changes to 0.25
I understand that I can change the scale once I've typed in the command but what if I want an automatic value when I enter the command?
Is there an over ride command which lets me change them to any value I want?
Dsw
12 Feb 2025
Hi Jeff,
I don't know if is possible to adjust the scale parameters, but a simple way to do it is redefine the commands (ZOOMIN & ZOOMOUT)
Look at the follow LISP sample code...
I don't know if is possible to adjust the scale parameters, but a simple way to do it is redefine the commands (ZOOMIN & ZOOMOUT)
Look at the follow LISP sample code...
(defun C:ZOOMIN ( ) (progn (setvar "CMDECHO" 0) (command "_zoom 2x") (setvar "CMDECHO" 1) ) ) (defun C:ZOOMOUT ( ) (progn (setvar "CMDECHO" 0) (command "_zoom 0.25x") (setvar "CMDECHO" 1) ) )
Jabbajeff
12 Feb 2025
Hi DS,
That looks great - except I don't know how to programme in LISP!
I think a quick self-learning session is in order. Many thanks for your input. Cheers!
That looks great - except I don't know how to programme in LISP!
I think a quick self-learning session is in order. Many thanks for your input. Cheers!