monkeypatching is what I was trying to avoid. What I have been using so far was patching the createNode function. Since the flipbook node is created with additional knob arguments, which hold the filename ("flip_tmp") I could differentiate. I just thought I could make this use a more standard way. Thanks anyway for your suggestion.

Cheer

Sebastian

On 11/13/2012 07:04 PM, Hugo Léveillé wrote:
Hijacking the flipbook function and just to set a variable True that you
turn False at the end of your callback ?

On Tue, Nov 13, 2012, at 11:15, Sebastian Elner wrote:
Hey,

having defined a OnUserCreate callback for Write nodes, in the callable
I want to find out if the write node (which I get with thisNode()) is
created by a flipbook. But since by definition of OnUserCreate the write
node I get has no knobs set yet, how would I differentiate?

Cheers

Sebastian

--
check out www.pointcloud9.com

Sebastian Elsner - Pipeline Technical Director - RISE

   t: +49 30 20180300 flor...@risefx.com
f: +49 30 61651074 www.risefx.com

RISE FX GmbH
Schlesische Strasse 28, Aufgang B, 10997 Berlin
c/o action concept, An der Hasenkaule 1-7, 50354 Hürth
Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B

_______________________________________________
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



--
check out www.pointcloud9.com

Sebastian Elsner - Pipeline Technical Director - RISE

 t: +49 30 20180300 flor...@risefx.com
f: +49 30 61651074 www.risefx.com

RISE FX GmbH
Schlesische Strasse 28, Aufgang B, 10997 Berlin
c/o action concept, An der Hasenkaule 1-7, 50354 Hürth
Geschaeftsfuehrer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B

_______________________________________________
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