Notifications
Clear all

[Closed] Callback to set key???

Hi all! I want to do a script that automatically set keyframes to a bunch of objects everytime one of them is animated. I found that I have callbacks to detect when the user presses Auto Key, but I haven’t found any way to do that for Set Key…

Thanks in advance!

Jr.

3 Replies

look in the reference for the ‘when’ construct. using that you can monitor specific controllers for changes, though i’m not sure if it gets key changes or just changes in the controller value or whatever.

please tell me if you come up with anything for this.

are you trying to use this for an fk/ik blend system maybe?

Thanks for the reply…This one was close, because what I need is a callback that is called every time a keyframe is created for certain objects, and this change handler does that, but just for the very first keyframe created…soooo bad!

I want to make a script that automatically creates keyframes for some specific objects in the scene every time any of them is animated…we are doing a test for a face rig here…

But thank you anyway…

Regards,

Jr.

Too bad man, the when construct in general is really powerful for pulling of this kind of trick.

But in general i have to say, i’d try to stay away from this kind of thing whenever possible. callbacks and the like are definitely not as solid as constraints/connections, the basic tools for rigging. very often you will realize that your life will be easier without these tricks in the end.