Ideally, we’d use radio buttons to let the user select a script, but since NUKE doesn’t have those yet, let’s hook up aknobChangedcallback that makes sure that only one checkbox is checked at a time: def knobChanged( self, knob ): if knob in self.checkboxes: # MAKE SURE ONLY ...
You can of course simply call external modules from a button, if that answers your question. That way you don't actually have to put any code (except for an import statement and a function call) in the script of the button. So you can just open your big studio wide module, and edit...