Hi,

I'm trying to add an addOnUserCreate callback for the creation of a gizmo. The 
following works fine for standard Nuke Nodes, but as soon as I'm using it with 
a Gizmo class the Dot doesn't get created. Any ideas?

works fine:

def myFunction():
        nuke.createNode('Dot')

nuke.addOnUserCreate(myFunction, nodeClass='Blur')



doesn't work:

def myFunction():
        nuke.createNode('Dot')

nuke.addOnUserCreate(myFunction, nodeClass='DespillMadness')





thanks,
andy
_______________________________________________
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