init.py PC file path problem

Howdy,

At my work I have everyones init.py point to a folder on a shared drive and pull the meny.py and all gizmos from there. This works great on our Macs, looks like this:

Code:

nuke.pluginAddPath('/data/ice/2D/nuke');
nuke.pluginAddPath('/data/ice/2D/nuke/icons');


Problem is, now I am trying to get some PCs up and running, too and the same wont work:

Code:

nuke.pluginAddPath('z:\\data\ice\2D\nuke');


I know it is seeing the path, cause if I put something in the remote menu.py to mess it up, nuke crashes at start… however, none of the plugin’s in the menu.py load… so maybe it’s the way I am loading the files in the menu.py?

That looks like this:

Code:

m = toolbar.addMenu("SSF", icon = "ssf.png")
m.addCommand( "aePremult", "nuke.createNode('aePremult.gizmo')")
m.addCommand("AutoGrade","AutoGrade.AutoGrade()")


Fairly straightforward.

If I copy all the gizmos and menu.py locally to the PCs .nuke directory it works.

Any help much appreciated!

No Responses to “init.py PC file path problem”

Post a Comment