First thought would be to piggy-back on something simple like the Assert node 
(i.e. call your Python by way of TCL).

-Nathan



From: Fredrik Averpil 
Sent: Wednesday, January 02, 2013 5:45 AM
To: Nuke Python discussion 
Subject: [Nuke-python] Execute python code in the middle of a node tree

Hi everyone, 

Is it possible to automatically execute Python code (not an external script) in 
the middle of a node tree, just by viewing this (or below) this point in the 
tree?

Right now I'm doing it by creating a NoOp node with a button which executes the 
code. Ideally, I'd like the code to be executed automatically without having to 
press this button. I do not want the code to get run at rendertime only...

Any ideas?

Thanks,

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
_______________________________________________
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