Changing interpolation

Discussion in 'Python' started by Hugo Léveillé, Jan 20, 2012.

  1. 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
     
    Hugo Léveillé, Jan 20, 2012
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    8
    Views:
    6,027
    Researcher_123
    Oct 7, 2011
  2. Mat W
    Replies:
    3
    Views:
    434
    Skeleton Man
    May 21, 2004
  3. \Rob\
    Replies:
    8
    Views:
    653
    Daniel Kirsch
    Feb 24, 2006
  4. Michele Puccini
    Replies:
    0
    Views:
    409
    Michele Puccini
    Nov 9, 2003
  5. Raj
    Replies:
    2
    Views:
    1,910
Loading...

Share This Page