Viewport scale to only change between preset scales when zooming with the wheel?

Viewport scale to only change between preset scales when zooming with the wheel?

Anonymous
Not applicable
761 Views
3 Replies
Message 1 of 4

Viewport scale to only change between preset scales when zooming with the wheel?

Anonymous
Not applicable

Hello everyone,

I am trying to find out if there is an option to somehow make the zooming in a viewport to only switch between already preset scales. Zooming changes the scale continuously, but I rarely want any other scale then my preset ones (1:50, 1:100, 1:20 etc.) Is there a way how to make the zooming (wheel on mouse) to only switch between these, or will it always just continously make the view smaller or bigger. I know I can open the list of my preset scales and click the one I want, but I want to be able to change it with the wheel on my mouse when I am inside the viewport. 

Does anybody know if this is possible? Thank you  😃

0 Likes
762 Views
3 Replies
Replies (3)
Message 2 of 4

scot-65
Advisor
Advisor
Short answer: No.

Long answer: It is possible with LISP. One will need to define a
named view in model space and use this named view to create the
paper space viewport. From there one can start the custom utility,
select the named view name, select the desired scale (a very specific
list of scales) and select the existing viewport. A separate utility may
be required to set VPFREEZE. [disclaimer: there might be other methods]

If one wishes to navigate inside the viewport and when exiting
the viewport, restore the zoom scale factor, suggest first locking
the viewport (for safe keeping/peace of mind) and employ the
commands VPMAX and VPMIN.

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes
Message 3 of 4

purplepurcupine
Community Visitor
Community Visitor

ANNOSCALEZOOM is what you are looking for. Set this to ON.

0 Likes
Message 4 of 4

Sea-Haven
Mentor
Mentor

If your in modelspace and say zoom E then zoom roughly to say the objects required, jump back to paperspace, you can select the viewport and set the variable CUSTOMSCALE in a lisp or in Properties. Its a real number so 1:100 try 10 ie 1000/10 this is for metre units. Its pretty easy to remember the numbers for metric scales. 1000 / scale.

 

Using a lisp in modelspace pick a point, then select a scale. 

 

SeaHaven_0-1697153531609.png

 

 

 

 

0 Likes