Forum: Poser Python Scripting


Subject: need info on how to change ytran of a figure in python having strange probs hel

nightfir opened this issue on Jul 27, 2006 · 4 posts


nightfir posted Thu, 27 July 2006 at 6:15 PM

I'm trying to change the ytran parameter of a figure  and it's not working quite right. Here is a sample script.

Scene = poser.Scene()

Fig = scene.Figure(“tshirt2”)

Act = fig.actor(“Body”)

Act.SetParameter ("yTran",10.0)

Now however instead of yTran getting set to 10.0 it gets set to 2060 or something to that effect. If I change yTran to xTran or zTran,  the same thing happens. If I change yTran to xRotate, yRotate, or zRotate, it's works fine. I just installed Poser SR3. So I don't know what I'm doing wrong.