Forum: Poser Python Scripting


Subject: Morph Randomizer - getting it to work with Poser 7 S.R. 3

Kalypso opened this issue on Jun 16, 2009 · 9 posts


Kalypso posted Tue, 16 June 2009 at 11:41 PM Site Admin

Thanks nruddock

When i first got that message and didn't see any morphs in the pane I thought it was broken.   I just have to be careful to choose the body part with morphs before running the script and then everything's fine.   Choosing another part while the scrip is running has no effect so I have to turn it off, choose a part and turn it on again.  

Update:
I did edit 3 instances of 'whrandom' to 'random' and the message disappeared, the python window loaded with the morphs shown which I selected and randomized but nothing happened and I got this error:

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:Program Filese frontierPoser 7RuntimePythonliblib-tkTkinter.py", line 1345, in call
    return self.func(*args)
  File "C:Program Filese frontierPoser 7RuntimePythonposerScriptsDownloadedRandomizer.py", line 119, in handleGo
    self.Action()
  File "C:Program Filese frontierPoser 7RuntimePythonposerScriptsDownloadedRandomizer.py", line 106, in Action
    OneParm.SetValue(g.random()Multiplier-0.5Multiplier)
AttributeError: 'float' object has no attribute 'random'

So I think I'll go back to the original unedited version because the randomize script at least works in that and I just have to turn off that first message.