Script to save and then restore user render settings
Martirilla
Posts: 181
What is the best way to have a script do the following:
1. Memorize the user's current render settings.
2. Do something cool, that involves the script first changing a dozen render settings. (I know how to do this bit)
3. Restore the user's saved render settings, exactly as they were before.
Post edited by Martirilla on
Comments
You could use ContentMgr to save and load a render settings preset - http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/file_io/save_duf_render_settings/start
Thanks for the link, that looks useful. Though if anyone knows of a way to do it without saving/loading a settings file on the user's PC, then please post.
Take a look at this sample script - Render To Asset Icon
Thanks, Ominiflux, that looks exactly the sort of script I was hoping to find. Who knew it would be lurking in a humble Asset Icon rendering script?