Hi,

I’m trying to figure out how I can store a function on a node.

This doesn’t work:

def printer(string): print(string)
node = nuke.createNode('NoOp')
node.printer = printer

Any ideas?

Cheers,
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

Reply via email to