Hi,

I'm having difficulty with this. It seems to be random as to when it works and 
when it doesn't.

My current method is this:


for n in nuke.selectedNodes():

if n.Class() == 'TimeWarp':

st = n['st']

anim = st.animation(0)

keys = anim.keys()

for key in keys:

key.interpolation = nuke.LINEAR



Sometimes it sets the keys to something more resembling smooth, sometimes it 
doesn't do anything. I'm not much good at python, is there a better way?

Thanks,

AH

MPC NYC
Alex Harding | 2D Lead
434 Broadway, 9th Floor, New York City, 10013
T 212.915.3110

www.moving-picture.com<http://www.moving-picture.com/>
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to