Forum: Poser Python Scripting


Subject: Poser crash at 'Quantizing Colors'

Ralf61 opened this issue on Jan 19, 2005 ยท 10 posts


ockham posted Wed, 19 January 2005 at 11:53 AM

I'm not familiar with Flash, so I don't know the details. But the filename is definitely wrong. You either need to write moviemaker.MakeFlash("C:test.swf") or use normpath. Normpath is better, because it will let the same script work on both Mac and PC. Here's the script with normpath, which does give a SWF output on my computer. Note the forward slash..... import poser import os scene = poser.Scene() moviemaker = scene.MovieMaker() FileName=os.path.normpath("C:/test.swf") moviemaker.MakeFlash(FileName)

My python page
My ShareCG freebies