Hmm, I’m not sure what’s wrong either. This seems like it could be a regression 
or recent bug. Sounds like it might be worth reporting to support.

-Nathan



From: Kurian O.S 
Sent: Thursday, July 07, 2011 11:56 PM
To: Nuke Python discussion 
Subject: Re: [Nuke-python] Re: Reg : Setting Anim Curve for a Node

Hi Jooey ,

I got those details from this link . 
http://www.nukepedia.com/python/animationcurve-and-animationkey-objects/

And Nathan I am just confused about this error ,

   keys_from_node[i].extrapolation = nuke.LINEAR
ValueError: expected one of nuke.CONSTANT or nuke.LINEAR for extrapolation

I dont know what wrong here ;)

Thanks


On Fri, Jul 8, 2011 at 3:30 AM, Ivan Busquets <[email protected]> wrote:

  That's poorly documented, true. You can have a look at "animation" in the tcl 
docs for a list of supported commands, though.
  Or even better, check out this really nice tutorial from Nathan.

  
http://www.nukepedia.com/python/using-nukeanimation-without-tearing-your-hair-out/




  On Thu, Jul 7, 2011 at 8:49 AM, j00ey <[email protected]> 
wrote:

    Hi Kurian

    I'm pretty new to this too, would you mind telling me what the arguments 0 
and 'x' refer to below and where you found out? 


    a = nuke.AnimationCurve(n['translate'], 0, 'x')


    running help(nuke.AnimationCurve) gives me setKey and so on but I don't see 
anything about passing knob name etc to AnimationCurve

    Thanks in advance

    _______________________________________________
    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





-- 

--:: Kurian ::--




--------------------------------------------------------------------------------
_______________________________________________
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