rd-nuke-quintaindustries.com a écrit :
Hi,

Do you know a way to execute from a knobChanged callback a node contained in a group ?
I tried
group.node("TheWriteIWantToRender")['Render'].execute()
nuke.execute((nuke.toNode("groupName.TheWriteIWantToRender"),), False)
nuke.toNode("DuTankStereoWrite.WriteLocal")['Render'].execute()

And I always have a

RuntimeError: I'm already executing something else


If I type these commands in the python editor it's working has expected. If I execute these commands in a knobChanged callback I have the RuntimeError.


Any ideas why and how preventing that ?
Ok, I have an answer for the how. If I execute my nodes outside the knobChanged callback it' s working.
Anyone has the why ?
_______________________________________________
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