wont this do it, but in init.py not menu.py
nuke.pluginAddPath('/volumes/server/ServerGizmos')
Cheers
Howard
>________________________________
> From: gridwarped <[email protected]>
>To: [email protected]
>Sent: Tuesday, 30 April 2013, 0:47
>Subject: [Nuke-users] pulling specific gizmos from external folder
>
>
>
>I have a few nuke seats that I want to pull custom gizmos from a specific
>folder on our server. I just want it to pull these specific gizmos into it's
>menu. how to I make the menu.py look at an external folder (on server) for
>only the specific menu of gizmos I'm building?
>
>if the location was '/volumes/server/SergerGizmos'
>then how would I point to it in this example EXAMPLE:
>
>import nuke
>nuke.pluginAddPath("ServerGizmos")
>
>toolbar = nuke.menu('Nodes')
>toolbar.addMenu('ServerGizmos', 'SG.png')
>
>#IMAGE
>toolbar.addCommand('SG/Image/SG1', 'nuke.createNode("SG1")', '')
>toolbar.addCommand('SG/Image/SG2', 'nuke.createNode("SG2")', '')
>_______________________________________________
>Nuke-users mailing list
>[email protected], http://forums.thefoundry.co.uk/
>http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
>_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users