Use the KnobChangeGroup object to control when Nuke is updated if you're doing many Knob value changes all at once.
Alternatively you can use the 'from_script()' method and pass many keyframes to the knob all at once - you just need to format the knob values as a string in the same form at the knob would write to a script file. -jonathan On Oct 18, 2011, at 3:22 AM, AcidDrippa wrote: > I was looking throught the methods in Knob class and there's a > set_animation() method. > > What is the format of the string parameter to it? > > Can I use that, do you think, to concat the different key values and set it > in one go, rather than set values individually on the knobs? > _______________________________________________ > Nuke-dev mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev _______________________________________________ Nuke-dev mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
