Me again with another preset-related question... I think I might already guess the answer, but are presets only available in GUI sessions? I was testing some code in terminal mode, and while any of the preset methods ran, they always returned an empty list.
Thanks. nico On Sat, Mar 16, 2013 at 11:16 AM, Nico Dufort <nduf...@gmail.com> wrote: > Hi everyone, > > I was playing around with presets without much trouble, but I got confused > by nuke.saveUserPreset(node, presetName) wrongly assuming that it was the > same as saving a preset from the GUI. Looking at the > nukescripts.nodepresets.saveNodePresets(), I realized that it was not. > Not a problem per se, as I work with existing presets, but can someone > share a bit more insight on the use of nuke.saveUserPreset()? I noticed > that if I use it, the "saved" preset exists in memory during the active > Nuke session, but that's about it. > > Thanks. > nico > > > -- > "Attention, attention. Here and now, boys," the mynah repeated. "Here and > now, boys." -- "Attention, attention. Here and now, boys," the mynah repeated. "Here and now, boys."
_______________________________________________ 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