I've been testing with this little python snipet and I can't seem to
get it to work:

nuke.selectedNode().knobs()['offset'].animations()[0].changeInterpolation(
nuke.selectedNode().knobs()['offset'].animations()[0].keys() ,
nuke.LINEAR)

This will not change my keyframes to linear but if I do this:

nuke.selectedNode().knobs()['offset'].animations()[0].changeInterpolation(
nuke.selectedNode().knobs()['offset'].animations()[0].keys() ,
nuke.CONSTANT)

it will change them to constant.  If it works changing it to constant
why not linear?
Is there something I'm missing here?

Cheers,
Colin
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to