Forum: Poser - OFFICIAL


Subject: Python driving me mad...

troberg opened this issue on Nov 24, 2001 ยท 9 posts


troberg posted Sat, 24 November 2001 at 2:39 AM

I have a small problem with a python script. See the enclosed snippet below: scene.SetCurrentCamera(Front) scene.Render() fileName = app.path + "f.bmp" scene.SaveImage('bmp', fileName) scene.SetCurrentCamera(Back) scene.Render() fileName = app.path + "b.bmp" scene.SetCurrentCamera(Front) It works fine, except for the SetCurrentCamera statements. I need to do a lot of these renders, and the script would save me days of work. Any ideas? /Troberg