Thanks Frank. My main issue is more with callbacks. How can Ivey my script to 
even be run by Nuke in the first place when things change. I can tap in with 
knobChanged on a global level but if I do that then i get hit everytime 
anything changes, even if it isn't upstream. It's also global and I was hoping 
for something self contained in the node. 

I looked at opHashes and best I can tell, it only changes based on what nodes 
are connected not if the knobs on those nodes change. IOW if you attach a blur 
to the custom node's input, the hash changes. But if you now adjust that blur 
the hash does not change. 

Sent from my iPhone

On Apr 6, 2011, at 9:45 PM, Frank Rueter <[email protected]> wrote:

> have you tried checking nuke.selectedNode().opHashes() to see if it has 
> changed?
> 
> 
> On Apr 6, 2011, at 3:17 AM, John Vanderbeck wrote:
> 
>> Hey all, sorry for what is probably a really noob question, but I'm not 
>> finding the answer in the docs.
>> 
>> I write little scripts for things all the time, but what I need to do now is 
>> essentially make a custom node that runs a python script whenever anything 
>> upstream is changed.  How would I go about doing this?
>> 
>> - John Vanderbeck
>> - http://www.johnvanderbeck.com
>> _______________________________________________
>> Nuke-python mailing list
>> [email protected]
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
> 
> _______________________________________________
> Nuke-python mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to