Thanks Fredrik,
Thanks for the examples, very helpful. I will try using the full path, that
seems like a promising lead.
On Oct 22, 2014 5:46 AM, "Fredrik Averpil" <fredrik.aver...@gmail.com>
wrote:

> Hey Jordan,
>
> Here are two examples of how I do that here:
>
> nuke.menu( 'Nuke' ).addCommand("My menu/Awesome app", "awesome.run()", 
> icon="awesomeness.png")
>
> volPipeline = "10.0.1.1/pipe"
> optical.addMenu("VideoCopilot", 
> icon=volPipeline+"/bin/opticalflares/OpticalFlares-Nuke7.0-1.0/VideoCopilot.png")
>
> You could always try defining an absolute full path to the icon. If that
> doesn’t work, you should look forward to some detective work. If it works,
> you should really be able to access them with just the icon name - but only
> if you have registered the icon folder path with something like
>
> # I put these in init.py but you could probably use menu.py too
> nuke.pluginAppendPath("//10.0.1.1/share/iconsdir")
>
> // Fredrik
> ​
>
> _______________________________________________
> 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
>
>
_______________________________________________
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

Reply via email to