It works for me , but Curve Editor doesn't update properly.
Try Zoom In / Zoom Out in the Curve Editor

Yann

2012/1/20 Hugo Léveillé <[email protected]>

> Another quick question this morning
>
> Does anyone have the syntax to change keyframe interpolation of a curve
> ?
>
> For exemple, I am trying to change the curve of the translate of a
> camera using this and it does not do much
>
>
> nuke.selectedNode().knobs()['translate'].animations()[0].changeInterpolation(
> nuke.selectedNode().knobs()['translate'].animations()[0].keys() ,
> nuke.CONSTANT)
>
>
> --
>  Hugo Léveillé
>  TD Compositing, Vision Globale
>  [email protected]
>
> _______________________________________________
> Nuke-python mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
_______________________________________________
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