Hi All,
I had a requirement that i want to restrict user to work on a fixed zoom. So that i want to disable zoom function on mouse wheel.
Can some one tell me how to do this?
Thanks,
Kumar.
Hi,
create a layout, within the layout create a MVIEW, within the view set the scale and lock the view.
But to be honest, disabling the ZOOM makes object selection as well as object snap difficult or incorrect.
- alfred -
Hi alfred,
Thanks for reply.
What you said is ok for view ports, But i want to do same for model space.
Is there any way??
Thanks,
Kumar.
Hi,
afaik not without a lot of development.
- alfred -
Hi,
How can i write an event that fires on viewscaleChanged, so that i can control user to change zoom through mouse wheel.
Thanks,
Kumar.
Hi,
Event handling will not be enough, you might try to redefine ZOOM and ORBIT commands, but you also need to control the mouse wheel in the OS.
- alfred -
Hi,
Perhaps you can store the current view and variable VIEWSIZE / VIEWCTR , then implement a Editor reactor to manage "EnteringQuiescentState"
In the callback function you can look at new value of VIEWSIZE and VIEWCTR. If there are not identical, you can restore your original saved view.
Olivier
Can't find what you're looking for? Ask the community or share your knowledge.