Changing interpolation

Chris Rebert clp2 at rebertia.com
Fri Jan 20 11:16:31 EST 2012


On Fri, Jan 20, 2012 at 7:35 AM, Hugo Léveillé <hugol at fastmail.net> wrote:
> 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)

This is in apparently in reference to
http://www.thefoundry.co.uk/products/nuke/ ?

When asking questions about 3rd-party libs, it's best to clarify up
front which one you're talking about.

Cheers,
Chris



More information about the Python-list mailing list