You could always add a knob to the root and paste to path of you gizmo location and add a onscriptload callback that looks for paths that might have been added there and append them. That would be saved in the script
But I am just throwing untested ideas there... Might encounter other problem with this approach. But That's something worth testing -- Hugo Léveillé Head of 2D, MELS hu...@fastmail.net On Thu, Aug 25, 2016, at 09:20, Fredrik Averpil wrote: > @Charles: Yes, we actually convert most of our gizmos to groups for > this exact reason. This time, however, we're looking to keep the > "reference" to the gizmo on disk, so that in case we change the gizmo > these changes are propagated onto all Nuke scripts that are using it. > > @Hugo: About the Grizmo approach, I don't want the gizmo to be killed > into a group. I want the connection back to the external file that is > the gizmo. > > So, I'm trying to figure out a way to make the Nuke script itself be > aware of a gizmos location. So that when opening the script, it will > also recognize any gizmos. A great solution would be if any gizmo > residing in the same directory as the script itself would > automatically be loaded. This however does not work. I guess it's > "feature request time"! > > > _________________________________________________ > 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
_______________________________________________ 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