Nuke 16 is out with a new addition to managing scripts.
Using script level variables to allow a single script to drive multiple shots and reduce need for copy paste.
Seems like a sensible addition for large scripts. Some folks have in the past used manual ways of creating switches, but now being integrated into the app overall makes this much better.
Has application beyond multi-switch. If you just want to make your re-grain or other compute heavy process controlled by a central toggle to speed up work, that’s a nice way of doing it.
Have been using it since inception. Is great. Still behind Gaffer and Solaris, nicely expandable with NDK a Python. What will be interesting is if Nuke Studio implements this at the timeline level. Someone call Will Harris!
Add a few custom toggles to your project settings.
Then in any field that can take an expression, you can reference these variables.
In this case, the standard ‘disable’ attribute (present in any Nuke node), here o on the blur node. Global enable/disable variable for any group of nodes in your script / node tree.