You can drop an expression into the disable knob that uses the $gui statement. It will give you 1 if the gui is on and 0 if it's off. so a 1-$gui will give you what you are after. That is if you render on a farm or through a terminal. Otherwise you can use the Python tab in the Write node and call up a Python script in the before render text box.
Ron Ganbar email: [email protected] tel: +44 (0)7968 007 309 [UK] +972 (0)54 255 9765 [Israel] url: http://ronganbar.wordpress.com/ On 18 August 2011 15:28, Daniel Short <[email protected]> wrote: > Hello all, > I am wondering if there is a way to script a node to be disabled during > rendering. > > This is similar to After Effects option to make a "guide layer", which you > can reference while working in the script, but does not render. It's quite > handy for a number of things. > > Thanks > Dan > > -- > Daniel Short > www.danisnotshort.com > 215.859.3220 > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > >
_______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
