hi, what i usually do is adding a init.py file in my .nuke directory. this file which just contains a nuke.pluginAddPath() forcing Nuke to parse a custom folder where are all my tools, a menu.py and a init.py i also add all the plugin path in the init.py file(s), not directly in the menu.py, because, as far as i know, the menu.py is not read when nuke launches in render or terminal mode.
hope that helps regards Aurélyen Daudet - Enseignement Nuke & Compositing adau...@artfx.fr --- http://www.artfx.fr --- http://blog.artfx.fr > *From:* > mailto:nuke-python-re...@thefoundry.co.uk<nuke-python-re...@thefoundry.co.uk> > *Sent:* Thursday, April 25, 2013 10:12 AM > *To:* nuke-python@support.thefoundry.co.uk > *Subject:* [Nuke-python] menu.py not running automatically? > > I am having some trouble getting a custom tools menu to work inside Nuke. > > Everything works fine but I am having to manually run my menu.py script > every time I open Nuke for the gizmos to work. Without doing this the menu > items show up however the tools cannot be located. > > I have put my gizmos in a custom path directory and added the path. > > Could this be causing the issue as they are not directly in the .nuke > folder? > > I want to keep them outside of the .nuke folder as I do not want to be > showing hidden files (just in case). > > I watched several videos and read forums but must be missing something > small. > > Thanks > > Simon >
<<signature_artfx.png>>
_______________________________________________ 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