Hey Rich, I always keep any per-script knobs in the nuke.root() node. Any panels you instantiate can check for those values and use any existing ones as defaults. Cheers, -Ean
On Tue, Nov 12, 2013 at 10:12 PM, Richard Bobo <richb...@mac.com> wrote: > Hi all, > > I’m wondering if there is a way to save and restore the data from a custom > Python Panel? > > For instance… Say I have a String_Knob with some text in it and I want to > bring that back when I load my script - along with the registered > PythonPanel I’ve created. In looking at my saved script in a text editor, > it seems that only the registered name of the panel and its location are > saved. There’s a "dock id", a “page id” and not a whole lot more… Any way > to save custom data from a registered panel - or should I forget about it > and go in the direction of a Gizmo, instead…? > > Thanks, > Rich > > > Rich Bobo > Senior VFX Compositor > Armstrong-White > http://armstrong-white.com/ > > Email: richb...@mac.com > Mobile: (248) 840-2665 > Web: http://richbobo.com/ > > > "Few will have the greatness to bend history itself, but each one of us > can work to change a small portion of events, and in the total of all those > acts will be written the history of this generation." > > - Robert F. Kennedy > > > > > > > _______________________________________________ > 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