I just did this in Nuke 7 and it seemed to work: 

nuke.menu("Nodes").findItem("Filter/Blur").setIcon("/path/to/icon.png") 

Good luck! 
jake 

----- Original Message -----

| From: "Wouter Gilsing" <[email protected]>
| To: [email protected]
| Sent: Thursday, October 30, 2014 7:30:41 AM
| Subject: [Nuke-python] Change menuicon

| Hi,

| Is there a way to change the icon of an already existing menu of the
| Nodestoolbar?
| I tried overwriting the menu and assigning an icon with the addMenu()
| method, but that didn't have any effect at all.

| Thanks!

| Wouter
| _______________________________________________
| Nuke-python mailing list
| [email protected], http://forums.thefoundry.co.uk/
| http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to