MoI discussion forum
MoI discussion forum

Full Version: Script reverse view problem

Show messages: All  1-3  4

From: Michael Gibson
12 Oct 2017   [#4] In reply to [#1]
Hi Benji, the default name for that view is 'right', and viewpanel.mode is meant to control which of the bottom 5 tabs are active, it returns one of 'split', '3d', 'top', 'front', or 'right'. So for your script there you'd need to put in 'right' instead of 'left', like this:

script:if ( moi.ui.mainWindow.viewpanel.mode != 'right' ) { moi.ui.mainWindow.viewpanel.mode = 'right' } else { moi.ui.mainWindow.viewpanel.reverseView( 'right' ) };

- Michael

Show messages: All  1-3  4