In production, you never have to modify a scene “on fly” and after come back to original settings. Why ?
1) Because you don’t know exactly what the script in doing
2) You can break completely a scene if the script crash.
3) We customize a lot Maya/VRay. The script can clash with existing tools.
Imagine for example we disable renderElements. The script will generate renderElements. But because renderElements are disabled, Altus will fail because no renderElements will be rendered (because we disabled renderElements in render global (disable all)).
But imagine the script of Altus forces to enable renderElements (enable All) because it want to generate renderElements “on fly”. But me, the user, intentionally (my choice) i disabled renderElements because i don’t need to render renderElements for this scene/render layer. Why a script will enable renderElements and render all renderElements that i don’t want to render ? It will break my setup and render things that i don’t want (!).
Bad workflow.
And this is just 1 example…
The only good workflow if you want to do all things “on fly” is to use “Python scene access”. It will never break your original scene and it will be “really” on fly.
But if you want a solid thing, you don’t have to modify the scene on the fly and come back after to original settings.
After i tell this because of my experience (i do pipeline every day for many years). If you think my example (and this is just 1) is wrong, i would be happy to know how it is wrong.
Thank you for voicing your concerns and highlighting this corner case, please compile all of your concerns and send a list including any bugs that you may have found to support@innobright.com