This is all being built against 6.1v2. 

Right now I’ve got a simple NoIop that exposes the incoming tree hash in a 
string knob. I’m doing all my work in _validate, so it only updates when a 
viewer is connected downstream.

My first question is, is there a way I can have this recalculated/updated 
whenever an upstream node is changed, whether a viewer is connected or not? Or 
is there a way I can force it to update manually? I’m interested in checking 
its status before kicking off a render, so the actual knob value check will be 
done through Python or via a TCL expression and would need the upstream tree to 
be up to date.

Somewhat related to that, is it possible to add a custom Python node method via 
the NDK that will, say, force a call to _validate()?

Finally, it seems that setting the READ_ONLY flag on a String_knob (in 
NoIop::knobs()) doesn’t actually make it read-only. Is there some other trick I 
need to use to make it so you can’t delete its contents in the GUI?

Thanks for any advice or insights,

-Nathan
_______________________________________________
Nuke-dev mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev

Reply via email to