Forum: Poser Python Scripting


Subject: What changes are needed to get this to work in Poser 12+ ?

3dcheapskate opened this issue on Jan 12, 2024 ยท 9 posts


3dcheapskate posted Mon, 15 January 2024 at 6:22 AM

Y-Phil posted at 2:39 PM Sun, 14 January 2024 - #4480368

I had to add two "try: except:" blocs, probably because I didn't used your script the right way, but as is, it works with Poser11 and Poser13
The key is the very first line, and indeed the use of print(...) even with Poser11.

from __future__ import print_function

...(clipped)...

poser.DialogSimple.MessageBox("3DCheapskates RandomizeHexGeometries.py script (prototype 0.00) all done.")

Thanks, works fine in Poser 11 just as you said. 

I'm curious about one thing though - to get my Freazypose to work in Poser 12 the only thing I had to do was add brackets to the prints - I didn't need to import the __future__ module. See ADPs two responses following my observation here. I'm fairly sure it's the same situation here.


The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident.

*also available in ShareCG, DAZ, and CGBytes flavours.