I am developing Python Plugins for C4D R21(did not update to Python3 yet) and I am having issues with generating takes. I am trying to set the render camera, but for some reason, after execution of the command, camera is not set (
BaseTake.GetCamera(self, takeData) returns
None). This method works completely fine in other parts of the plugin (that my ex-colleague wrote), with almost the same conditions.
The method I am using to set the camera is:
BaseTake.SetCamera(self, takeData, camera)
Description here: https://developers.maxon.net/docs/Cinema4DPythonSDK/html/modules/c4d.modules/takesystem/BaseTake/index.html?highlight=setcamera#BaseTake.SetCamera
I am sure that camera I want to set is a proper C4D camera object, it is not
take object is also initialized and render settings loaded. Are there any specific limitations to this method, or something else that needs to be taken into consideration when using the method, that I just cannot see at the moment?
Thank you very much in advance!