Hi, i got python function() which is can be called from dag(nodes) or from custom menu or from panel or from script editor. How can i check if the script is called from that location? i want to create a function which can respons correctly depends on where the script has been called.
So far i can handle this but not a 'nice' way. For example i'll check with putting 'nuke.thisNode()' in the script so if this returns True , it means it's called from dag , if returns false , it means it's called from script editor or custom panel or custom menu..... then i do another check for the rest bla bla... is there a better way to check . not sure but let's see if anyone has a better solution. Thanx
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
