*I was unaware of that getValue() and value() returned different things...*
That is true for Pulldown knobs, and Checkbox knobs, at least. I didn't made an exhaustive research ; ) For Checkbox, both methods will return 1 or 0, but one will return a Boolean, the other a Float Number. Probably, you might find other knobs with a similar behavior. (Int or Float Vs String or Boolean ?...) I really though for a while that was odd, disturbing and useless *...* But it can be actually quite usefull ; ) Cheers. -- Aurélyen DAUDET - Enseignant Nuke et Compositing adau...@artfx.fr - www.artfx.fr - blog.artfx.fr On 17 April 2015 at 15:01, Fredrik Averpil <fredrik.aver...@gmail.com> wrote: > Awesome, thanks. I was unaware of that getValue() and value() returned > different things... > > I just had to do this to set the codec to MPEG-4: > nuke.toNode(node.name())['meta_codec'].setValue('mp4v') > > Cheers, > Fredrik > > > >
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python