Forum: Poser Python Scripting


Subject: Callback created using parm.SetUpdateCallback() not behaving as expected

3dcheapskate opened this issue on Sep 25, 2021 ยท 16 posts


adp001 posted Sun, 26 September 2021 at 12:42 AM

If the parameter to be changed on an event is in the same actor where the event was triggered, then you can use "parm" to reach the actor uniquely and quickly:

target_actor = parm.Actor()

or

parameter = parm.Actor().Parameter("yRotate")

or

parm.Actor().Parameter("yRotate").SetValue(value)