I'd just add something like this in your menu.py:
m.addCommand("mynode", "nuke.createNode('mynode', 'myknob %s' %
str(nuke.selectedNode().metadata( 'input/width' )))")_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
