So, this is not working for me, let me expand on what I need to do.
I have a template scene; the project has a number of materials that have RenderView shaders on them. A user copies the template scene, but needs "local" copies of these materials to reference the new scene and the cameras within that scene. In other words, each copy of the template scene needs it's own set of materials with RenderViews.
There is no functionality to duplicate materials through the API (I have a bone to pick with your developers over not allowing API access to a ton of functionality you get in the Xpression UI... why?), but it's simple enough that I can create a new material, and a new XpBaseShader. I assign the shader to the material as a "RenderView." I can set the scene for the RenderView.
How can I set the camera for the RenderView? There's no method for it that I can find anywhere.
#XPression