Instantly share code, notes, and snippets.

@fereria / Secret
Created Feb 21, 2014

What would you like to do?
def getNextKey(node):
st = pm.findKeyframe(node,w="first")
end = pm.findKeyframe(node,w="last")
yield st
while 1:
next = pm.findKeyframe(node,time=(st,st),w="next")
yield next
if end == next:
st = next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment