svorgodne Posted October 13, 2020 Share Posted October 13, 2020 Hi everyone, I use very often the command combination "zoom" "object", either via a lisp program or normal input. My question is, how to manage the percentage the object appear on the screen. Is there a system variable that can control that? I would like to have the objet selected as big as it is occupaying the whole screen when I use this command combination. Thanks in advance Quote Link to comment Share on other sites More sharing options...
guran Posted October 13, 2020 Share Posted October 13, 2020 Have this old lisp. Do not remember where I got it . (Defun C:ZO () ;; Turns UCS and zooms to object (command ".ucs" "ob" pause ".plan" "c" ".zoom" "w" '(-10 -10) '(10 10)) (princ) ) Quote Link to comment Share on other sites More sharing options...
tombu Posted October 13, 2020 Share Posted October 13, 2020 If you'd rather not change your UCS gile at TheSwamp wrote a ZoomObject lisp that works with TWisted views us in Civil/Survey work use on every project: https://www.theswamp.org/index.php?topic=20534.msg250028#msg250028 Quote Link to comment Share on other sites More sharing options...
BIGAL Posted October 13, 2020 Share Posted October 13, 2020 Maybe a simple way just using the scale variable you can have more than one scale defun. (defun c:z20 ()(command "zoom" "c" (getpoint "\pick point") 20)) Quote Link to comment Share on other sites More sharing options...
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.