Hi, I have some nodes I am creating that I don’t want the user to save with the script. On their hidden “knobChanged” knobs, they reference an in-memory-only function that only gets loaded when the nodes are created. So, if they are saved with the script, the function is not found when they are restored and the custom knobs do nothing. So, I would like to prevent the nodes from being saved with the script. That way, the user will have to create new nodes the next time; the function will be referenced and loaded into memory and all will be well… What’s the best way to prevent a node from being saved? Should I use the onScriptSave callback? Or, is there a better way?
Thanks, Rich Rich Bobo Senior VFX Compositor Armstrong White Email: rich.b...@armstrong-white.com http://armstrong-white.com/ Email: richb...@mac.com Mobile: (248) 840-2665 Web: http://richbobo.com/ "The nobler sort of man emphasizes the good qualities in others, and does not accentuate the bad. The inferior does." - Confucius
_______________________________________________ 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