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?


Zoom In and Zoom Out Input Scale Options
Started by Jabbajeff, Feb 11 2025 10:30 PM
3 replies to this topic
#1
Posted 11 February 2025 - 10:30 PM
#2
Posted 12 February 2025 - 10:24 AM
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) ) )
#3
Posted 12 February 2025 - 07:29 PM
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!
#4
Posted 13 February 2025 - 10:19 AM
Hi Jeff,
glad to help you
glad to help you

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users