Hi, I am trying to write a script using the iClone Python API that renders videos for multiple cameras in a single scene.
Currently, I have several scenes and, for each scene, I have 7 cameras(These cameras have the same names across all the scenes).
Each scene is in a different project. I would like to write a script to render all the cameras in all of these scenes.
Right now, I run a python script that loads each project file, checks for errors, and then calls RLPy.RGlobal.RenderVideo(). I found this function being used in the Batch Render example. However, the
RLPy.RGlobal.RenderVideo() function only renders 1 of the 7 cameras. Right now I think the camera that is rendered is the one chosen in my main viewport, but I have not found a way to change the camera that is rendered.
My question is: Is there a way that I can programmatically change the camera that is rendered or render all the cameras?
Thank you!