Capture/Set/Export Rendersettings Python API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to find a way to export all rendersettings (to some kind of file - e.g. xml)
As to my knowledge, the python api does not offer such a method.
So I tried writing my own method which calls every get-method on vrRenderSettings and writes it
to a dict. While this approach would not be my prefered one, it works - but not for all settings!
As I figured out, vrRenderSettings does not provide a get-method for all settings, that can be edited by the user.
So how can I retrieve and set all rendersettings?
Brings me to the question - why is such a feature/method not implemented from the start in an application like VRED?
I ran into this problem as I was playing around with the RenderQueue, which can be exported to XML. Checking the entries
in the XML I noted an action that calls a Preset. I was wondering where that Preset is stored. Turned out it is stored within the scene,
that the RenderQueue was created in. So exporting the RenderQueue to XML and then importing it to another scene with the same model in it - lets say the DataPrep department delivered an update on the model - turns out to be useless, as the rendersettings will be gone. Therefore I tried to export the rendersettings by themselves.
Happy to hear about solutions!
Reagards,
Lars