Hey folks- I have a python script that works fine when run from Maya's script editor. I'm trying to get this script to work in standalone mode for batch processing.
In the standalone mode the script fails on the command: maya.cmds.lookthru() with the exception: 'RuntimeError: There is no active view.' The reason why I use lookthru is to set the active render camera. I have a shader that uses maya's samplerinfo node, which seems to be only able to sample from the render camera. So is there any way to set the active render camera in maya's standalone mode? This might fix my problem. Any other suggestions to work around this problem? Thanks, -pro -- http://groups.google.com/group/python_inside_maya
