Forum: Poser Python Scripting


Subject: Converting scripts for PP2012?

lesbentley opened this issue on Mar 19, 2012 · 25 posts


markschum posted Mon, 19 March 2012 at 11:51 AM

try:
    dg=SpawnCharacterDialog(poser.Scene().CurrentFigure())
    dg.Show()
except FigureError:
    pass
except:
    print "This script requires Poser 6 SR2 or later"

 

when you remove the try and except lines you need to move the dg=  and dg.show to the beginning of the line. (same indent as the try: line)