Hi Ales,
Thanks a ton for the pointer, it's weird because I had a similar code that didn't seem to work:
CORONA = 1030480 #Declaring Corona render for GetVideoPost function
def getCoronaRenderSettings(rdata): #Courtesy of mmarcotic, check if Corona is the actual video post
videopost = rdata.GetFirstVideoPost()
while videopost:
if videopost.GetType() == CORONA:
return videopost
videopost = videopost.GetNext()
rdata = doc.GetActiveRenderData()
rpost = getCoronaRenderSettings(rdata)
rpost[c4d.CORONA_SETTINGS_RENDER_REGION_ENABLED] = False
c4d.StopAllThreads()
doc.InsertRenderDataLast(rdata)
doc.SetActiveRenderData(rdata)
c4d.EventAdd()
But I guess my error was that I applied it to the render post and render data, not the actual video post.
I will try your code instead, let's see!
Cheers,