Forum: Poser Python Scripting


Subject: Is there a batch render script for Pz3 thumbnails?

z opened this issue on Apr 02, 2009 · 15 posts


z posted Mon, 13 April 2009 at 12:17 PM

Quote - Have a look at this one. It should test for the output render name and skip the file if it exists.

its a simple if not os.path.exists(filename): test but you then have to indent everything thats dependant on the condition.

Um, I see the if not statement...
if not os.path.exists(cfo):
   
but it's still overwriting files, how is that?

I can make a list of the right files
maybe just hardcoding the filepaths would be easier
z