I prepared a scene in memory and like to render this now with Redshift. To do this I need to switch from the standard render engine to Redshift.
rd = doc.GetActiveRenderData() rdata[c4d.RDATA_RENDERENGINE] = 1036219 c4d.EventAdd()
Is not working and it will just use the Standard render engine, I think because I need to set the VideoPost.
I can get this by using:
def GetRedshift(rd): rs = rd.GetFirstVideoPost() while rs and rs.GetType() != 1036219: rs = rs.GetNext() return rs
And trying to set it with InsertVideoPost but no luck. Maybe I'm completely on the wrong path.
Can anybody help me do this.