3dcheapskate opened this issue on May 10, 2022 ยท 27 posts
3dcheapskate posted Wed, 11 May 2022 at 1:27 PM
I mentioned earlier that maybe all I need to do to get this script to work in Poser 12 is to change the print statements from Python 2 print 'xyz' to Python 3 print ( 'xyz' ), i.e. add the brackets. But looking through the code above I'm reminded that I use the + sign to concatenate things I'm printing, e.g.
print "- *** ALERT: slaveparameter " + slaveparameter.Name() + " has 2+ ValueOps using source parameter " + masterparameter.Name()
whereas normal people tend to use the % sign with a comma separated list (there's a name for that, something to do with format). I think Python 3 needs that format. But I'm not sure.
The 3Dcheapskate* occasionally posts sensible stuff. Usually by accident. And it usually uses Poser 11, with units set to inches. Except when it's using Poser 6 or PP2014, or when its units are set to PNU or something else.
*soon only to be available in two flavours - DAZ and Renderosity