Hi,
I have these lines of code in my init.py and my menu.py:
path="/tmp/sompath"
nuke.knobDefault("preferences.DiskCachePath", path)
prefNode.knob('DiskCachePath').setValue(path)

But when I look into the preference menu when nuke opens it still has
the old value.
The only thing I can think of is to hack the ~/.nuke/preferences6.1.nk
file but is there a cleaner way to do this?
Regards,
Gerard Keating.
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to