On 15/02/2016 at 07:41, xxxxxxxx wrote:
I am looking for a way to enable/disable GI. Basically the tick in front of "Global illumination" in the render menu.
Any way to do that in Python?
On 16/02/2016 at 01:36, xxxxxxxx wrote:
Video posts like GI are stored in the render settings. You can obtain the current render settings from the document with GetActiveRenderData(). The video posts are stored in a list, the first element of that list can be obtained with GetFirstVideoPost(). Now you can loop trough all video posts simply with GetNext().
To disable the GI video post you have to check the type of the video post. The ID of the GI video post is c4d.VPglobalillumination. The video post is then disabled by setting the bit BIT_VPDISABLED with SetBit().
On 16/02/2016 at 02:25, xxxxxxxx wrote:
Thanks for the reply. I will try it. Due to keyword "video post" i also found this:
Thank you again!