addEventCallback

   3015   4   0
User Avatar
Member
105 posts
Joined: 11月 2007
Offline
Hi,

im trying to get the addEventCallback function to work for the last few days been on searching on the forums and came across a lot of good help but still cant get the addEventCallback to run..

not sure where im going wrong(so i added a print screen shot)
just testing to see if i can get it to run for now, so the code is as simple as possible..

thanks a lot for any pointers….

Attachments:
kwargsCallback.png (186.7 KB)

User Avatar
Member
105 posts
Joined: 11月 2007
Offline
never mind lol…

the reason it wouldn't work for me was because the event handler was set on “On Created” and all i had to do was call the digital asset for it to work lol..
silly mistake…
User Avatar
Member
8636 posts
Joined: 7月 2007
Offline
also don't forget you can use parameter callback scripts for onParmChanged functionality, but I guess that depends on what you are doing
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
105 posts
Joined: 11月 2007
Offline
thanks for the tip..
User Avatar
Member
105 posts
Joined: 11月 2007
Offline
so the addEventCall back works great to read parameter values but doesnt seem to pick up key frames or expressions?

is there another function that can read live data from parameter values and still send it to the python shell?
  • Quick Links