So I have lots of things at object level and lots of things in each object with lots of keyframes. Now I want to edit all the fcurves in one go so I need all the keyframed parameters in the animation editor. Do I really have to go into all 60 objects, select all the keyframed nodes and peg them in the animation mixer? Or am I as per usual missing something…..
cheers,
Andi.
Loads of keyframes in loads of objects.....
1470 2 1- Andi Farhall
- Member
- 115 posts
- Joined: Feb. 2014
- Offline
- doctorbob
- Member
- 30 posts
- Joined:
- Offline
this script will add all animated parms in the scene to the animation editor
cheers,
chrisg
""" scopes all keyframed parms in the scene """ import hou animated_list = [] nd = hou.node("/") nodeArr = nd.allSubChildren() for n in nodeArr: if not n.isInsideLockedHDA(): parmArr = n.parms() for p in parmArr: if p.isTimeDependent(): deletelist = [] keyframes = p.keyframes() if len(keyframes) > 1: p.setScope(True)
cheers,
chrisg
- Andi Farhall
- Member
- 115 posts
- Joined: Feb. 2014
- Offline
-
- Quick Links