Forum: Poser - OFFICIAL


Subject: Poser Python - Need Help Getting Started

TerriJohns opened this issue on Oct 29, 2013 · 10 posts


Allstereo posted Thu, 31 October 2013 at 10:00 PM

Hello,

Here is the code that I used to get the value and set the value of a parameter

#Define the actor

actor = scene.Actor("External name")

#Read value of actor

actor.ParameterByCode(poser.kParmCodeYROT).Value()

#Set value of actor to 80

actor.ParameterByCode(poser.kParmCodeYROT).SetValue(80)

 

Allstereo