Add Ctrl+Mouse Scroll Wheel Function with .NET?

This widget could not be displayed.

Add Ctrl+Mouse Scroll Wheel Function with .NET?

Anonymous
Not applicable
Hi,

 

Is there a way to add a function or setting which makes the Zoom go 5x faster when holding the Ctrl button while scrolling?

 

I've had some help making a script which allows me to have different zoom speeds for different viewports, but I would also like to easily switch between slow zoom and fast zoom, preferably by simply holding the Ctrl button.

I can't find any mouse wheel settings in CUI and it doesn't seem to be possible to do it with a LISP.

Any ideas?

0 Likes
Reply
641 Views
4 Replies
Replies (4)

JamesMaeding
Advisor
Advisor

oh, I like that idea a lot.

This is an interesting question, as I think you must capture the mouse scroll event, and do something.

Only question is how to intercept the regular mouse zoom and switch it for your callback.

Kean Walmsley used to mess with stuff like this, but he does not blog on .net anymore, sad IMO.


internal protected virtual unsafe Human() : mostlyHarmless
I'm just here for the Shelties

ActivistInvestor
Advisor
Advisor
That is a good feature request because as it stands right now Mouse wheel zoom in perspective mode is about as useful as **** on a bull.

( I'm on mobile right now and I can't find any way to quote the post I'm replying to)

doaiena
Collaborator
Collaborator

Pan speed is also f..d up in perspective mode. I haven't seen a variable in AutoCad to control that. Is it possible to adjust the pan speed aswell through the .NET API?

0 Likes

ActivistInvestor
Advisor
Advisor

AFAIK, the mouse wheel zoom and pan step/increment is hard-wired and not configurable via any means.

 


@doaiena wrote:

Pan speed is also f..d up in perspective mode. I haven't seen a variable in AutoCad to control that. Is it possible to adjust the pan speed aswell through the .NET API?


 

 

 

 

0 Likes