Hi- I have a python script that adds projects to the render queue successfully but now I'd like to be able to enable the Team Render option for them. After reviewing the documentation I felt like BatchRender.SetUseNet(self, n, on) was going to be the answer but I havn't been able to get it to work.
In the main body of the script I set dBatch = c4d.documents.GetBatchRender().
Later in the script I call batchRender definition.
def batchRender(dFilePath, objName):
dBatchCount = dBatch.GetElementCount() #number of items already in the batch render
dBatchCount += 1
dBatch.AddFile(dFilePath +"/" + objName + ".c4d", dBatchCount)
####enable Team Render for item
dBatch.SetUseNet(dBatchCount,True)
The script doesn't return any errors but the Team Render box is never activated.
Any insight is appreciated.
Thanks,
.del