THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/11/2011 at 04:59, xxxxxxxx wrote:
I want to access and change rendersettings of 3rd Party Engines via Python, but at the moment it seems like I can't properly access the settings.
I want to turn off the reflections in the rendersettings. If I do this for the internal render engine everything works fine.
doc = c4d.documents.GetActiveDocument() rendersettings = doc.GetActiveRenderData() rendersettings[c4d.RDATA_OPTION_REFLECTION] = False c4d.EventAdd()
The same code won't work for external render engines.
doc = c4d.documents.GetActiveDocument() rendersettings = doc.GetActiveRenderData() rendersettings[c4d.VP_VRAYBRIDGE_REFLREFR] = False c4d.EventAdd()
I was told that C4D interprets 3rd Party Engines as Post-Effects, so "VP_" might stand for "VideoPost_" , I suppose? Then I understand that this code won't work as the external engine is not implemented in RenderData Class and so of course the "rendersettings" then don't know the attribute "c4d.VP_VRAYBRIDGE_REFLREFR". But in SDK I couldn't find the proper information to access the Post-Effects, so I'm kind of stuck right now.
Is there a way to access 3rd Party Engines?