Jump to content

detecting keyframes with pyton


maansrune

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...