that is a bit annoying but you can use simple string parsing to ship
around it, e.g: menu = nuke.menu('Nuke') menu.addMenu('testMenu')
testMenu = menu.menu('testMenu') menu.addCommand('%s/myNewCommand' % testMenu.name(), lambda: nuke.createNode('Blur'))
On 4/18/14, 6:44 AM, Jake Richards
wrote:
|
_______________________________________________ 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