Sounds like you are creating a node on startup via the menu.py which is then replaced by a template.nk maybe?!

To add a node to a menu use something like:
toolbar = nuke.menu('Nodes')
toolbar.addCommand('MyCategory/My Label', 'nuke.createNode("MyNodeClass")')




On 21/08/13 11:34, Jonathan Graham wrote:
Hello,
I've created a Nuke plugin that I would like to add to the menu, so I have modified menu.py but with little success. Any commands that I input seem to be destroyed shortly thereafter. For example, simply adding the line nuke.createNode("Blur") creates a node for a split second but then it is deleted. Any ideas what might be going on?

Thanks for your help,
Jon


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

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

Reply via email to