ScriptSpot home
Sign in

Script

autoVP - MouseOver Viewport Switcher

By ZeBoxx · Credited author: Richard Annema · 2009-03-06

Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.
Version
1.02
3ds Max compatibility
See listing claims below
How compatibility works

Choose the 3ds Max version you use. For example, selecting 2020 puts direct matches for 2020 first, followed by listings that say a supported version or newer.

Scripts that only mention an older version can still appear as “2020 unconfirmed.” Listings that rule out 2020 are excluded. Use “Show scripts with unconfirmed compatibility” to also see listings without a clear match.

Community reports show what worked for members on a specific release. They’re separate from the listing’s compatibility claims and don’t change the filter.

From original requirements
5
Original version requirement
3ds Max 5
Date updated
2010-04-18
Legacy votes
50
External download
External download
Downloads

Tags: Viewport, mouse, xterm focus

Description

autoVP automatically switches the active viewport to the viewport the mouse is hovering over. This allows you to interact much faster with manipulators in that viewport, select objects, get properties, etc.

Script can be used 'as is' as well as be accessed by scripters (e.g. the function to get the viewport under the mouse is exposed).

Additional Info

For details, see the script source file.
Comments (12)

:)

moulder6 · 2011-02-24

@miauu - yep, i have it in my script/startup folder, n i have asigned it to a button on the main tool bar. i was only wondering if it's possible to automatically turn it ON right after max is started, without the need to press the button each time.

ON by default?

moulder6 · 2011-02-22

Great, 10x! This is sumthing that i really missed in max since i started using maya.

Sorry for my ignorance, but is there a way to have the script ON by default without having to press the button each time i restart max?

miauu · 2011-02-22

For permanent accessibility, place script file in the Startup scripts folder- maxroot/scripts/startup

Michele71 · 2010-04-23

Grazieeeeeeeeeeeeeeeeeee!!!!

Nice script and very, very useful :) :)

JokerMartini · 2010-04-23

very cool!

W DIGITAL · 2010-04-20

FINALLY SOMEONE DID IT!°

ZeBoxx · 2010-04-18

I uploaded a new version today.

Internally, for coders, the change was to add a callback function that can temporarily disable AutoVP.

Externally, a default callback function was set up so that when the left mouse button is pressed/down, AutoVP will be temporarily disabled. This prevents odd behavion performing dragging operations such as drag-move/rotate/scale where the cursor may leave the viewport's bounds.
This can be switched out for any other function or set 'undefined' to disable completely. One additional callback function is included that causes autoVP to temporarily be disabled if the Shift key is pressed.

jrulier · 2009-04-04

I love this one.

ZeBoxx · 2009-04-02

Thanks, guys - I'm glad you like it :)

DeadClown · 2009-03-30

this is awesome; So much helpful, thanks! :)
Should be integrated in Max

titane357 · 2009-03-06

Very good !

JohnnyRandom · 2009-03-06

word! way cool script :) thanks!