0x17 Python for (Nuke) Compers - knobChanged callbacks

Опубликовано: 22 Июль 2026
на канале: Anthony Tan
2,500
55

More callbacks! This time, let's look at the enemy of all that is interactive - knobChanged. Here we go through all the possible ways you can trigger the event (and why it gets sloooow), then how to add some guards, and the back ~10 mins is showing you two ways of writing a more general purpose function that Does Stuff.

00:00 - take 12. I'm not kidding
03:20 - setting up our rig to edit this callback
04:05 - examining what fires the event closely
09:00 - adding a thisKnob guard
13:00 - let's convert to a function
16:00 - and make it more portable
21:37 - Bonus variant 1: we can deal with 'None'
23:30 - Bonus variant 2: we can also have a 'default'