Forum: Poser Python Scripting


Subject: Camera woes

Josiah opened this issue on Nov 14, 2002 ยท 4 posts


Josiah posted Thu, 14 November 2002 at 7:43 AM

I include this;

scene.SetCurrentCamera(scene.Actor("Main Camera"))

at the top of my script after "scene = poser.Scene()"
in an attempt to have my script change cameras, but for some reason, it dosent work...

Also, does anyone know how I can get the parameter value
of a dial? for instance "DollyY"'s current value?

I have tried to increment the cameras position like this;

actor = scene.Actor("Dolly Camera")
v = actor.Parameter("DollyY")
w = actor.ParameterByCode(poser.kParmCodeYTRAN)
d = w + 0.01
v.SetValue(d)

but this method dosent return the var "w" with the right
type!
Is there a nother method to do this I am missing?

Thanks for any help or ideas!
josiah