Nice one, thanks Deke.

On 01/24/2012 03:28 PM, Deke Kincaid wrote:
I just put a python script in my menu.py to delete all viewers apon opening a script.

def killViewers():
    for v in nuke.allNodes("Viewer"):
        nuke.delete(v)
nuke.addOnScriptLoad(killViewers)

I forget who posted this on the list that I stole it from :)

-deke

On Tue, Jan 24, 2012 at 15:18, David Schnee <[email protected] <mailto:[email protected]>> wrote:

    Is there a way to launch a Nuke session with a flag to 'Pause the
    viewer' so that it's paused when the script is open?

    Cheers,
    -Schnee

--
    \/ davids / comp \/ 177
    /\ tippettstudio /\ sno

    _______________________________________________
    Nuke-users mailing list
    [email protected]
    <mailto:[email protected]>,
    http://forums.thefoundry.co.uk/
    http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



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


--

\/ davids / comp \/ 177
/\ tippettstudio /\ sno

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

Reply via email to