Need help with a script handler for interactiveViewChange('zoomarea')

 From:  Michael Gibson
10403.2 In reply to 10403.1 
Hi Ed, unfortunately I don't think it is possible currently for a script to use interactiveViewChange() in this way.

The way view.interactiveViewChange() works currently is that it posts a message and then lets the current call stack unwind and doesn't start the view change loop until when the message is processed.

I will add in an optional 2nd parameter to interactiveViewChange() to make it go into its modal loop immediately rather than posting a message, so in v5 you will be able to do it like this without setting up your own event loop:

moi.ui.mainWindow.viewpanel.getViewport('3D').interactiveViewChange('zoomarea', true);

- Michael