Accessing secondary viewports in Motionbuilder


Hi. I’m trying to set the current camera of the active viewport in motionbuilder using pyfbsdk. I’ve only found out how to do so for the primary/first viewport but not the active one.

FBSystem().Renderer.CurrentCamera, FBSystem().Scene().Renderer.CurrentCamera and FBApplication().SwitchViewerCamera() all gets/sets the camera of the primary viewport :frowning: