Jump to content
Sign in to follow this  
maansrune

detecting keyframes with pyton

Recommended Posts

Hi Guys

I have a very specific request from an animator working in houdini. He wants to have all his animation curves on the objects being animated, he doesn't want to be worrying on parenting or constraints.

Right now I have a working tool which it is looking at the values of a source object and keying them to the same parameters on a target object. No problem. But if I wanted to minimize the amount of key frames being created, how would I do that? I can't seem to find a python function for "if key frame present, then..."

So my question is, is there a way in Python to detect key frames and execute a function only when one is detected?

Any help would be appreciated.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×