[Nuke-users] Adding callbacks

2011-09-15 Thread Ron Ganbar
Hi there, Can anybody direct me as to how to add a callback on a specific knob in a specific node? Something that's tied to that knob only - not part of the menu.py. Can that only be done via scripting? Thanks, Ron Ganbar email: ron...@gmail.com tel: +44 (0)7968 007 309 [UK] +972 (0)54 255

Re: [Nuke-users] Adding callbacks

2011-09-15 Thread David Harter
i think this is how it works: you add the 'knobChangedCallback' in your menu.py, which is called whenever a knob is changed and which then calls the function that you define under the parameter 'call' . as you only want this function to be called, when a specific knob of a specific nodeclass

Re: [Nuke-users] Adding callbacks

2011-09-15 Thread Ron Ganbar
Hi David, I know about the kind of callback you are talking about, however there's also a callback you can attach to a specific node's specific knob. If anybody can help there, I would appreciate. Ron Ganbar email: ron...@gmail.com tel: +44 (0)7968 007 309 [UK] +972 (0)54 255 9765 [Israel]

Re: [Nuke-users] Adding callbacks

2011-09-15 Thread Ron Ganbar
YES! Thanks Hugo. Ron Ganbar email: ron...@gmail.com tel: +44 (0)7968 007 309 [UK] +972 (0)54 255 9765 [Israel] url: http://ronganbar.wordpress.com/ On 15 September 2011 17:03, Hugo Léveillé hu...@fastmail.net wrote: this ?? b = nuke.createNode(Blur) b['knobChanged'].setValue('''