[Closed] Determining locked viewport in render scene dialog
Hello,
is there a way to get the information which viewport or camera is selected in the dropdown-box of the render scene dialog with maxscript (and if so how)?
Using the system global viewport.activeViewport or the function getActiveCamera() returns the viewport/camera selected in the main 3ds editor. In the render scene dialog there’s the opportunity to “lock” a viewport/camera to be rendered so one could select Camera01 in the main GUI but the dropdown-box in the render scene dialog will stay e.g. at Camera04. I would want to get the latter information.
Thanks in advance for any hint,
-Andre
In 3dsmax 2009 the following variables have been added:
rendViewIndex, rendUseActiveView and renderPresetMRUList.
I don’t think there’s any way to get this information in versions < 2009 though.
Martijn
Thank you Martijn!
We’re running 2008 here so i didn’t come across those variables yet.