appendclip

This small scripts puts all your selected read node into a single append node in that order,thus giving you a small time line of nodes,user can scrub through.

Updated: 29 July 2010

Author: sameer

Compatible Nuke versions: 4.8 or later

Compatibility: Windows

Here the Function :

1
2
3
4
5
6
7
8
9
10
11
def appendallclips():
 
    sw=nuke.nodes.AppendClip()
    an = [n for n in nuke.allNodes() if n.Class() == "Read"] 
    s=len(an)
    print s
    x=0
    while x != s:
        sw.setInput(x,an[x])
        x=x+1
 

and to add the button in your menu py.

1
2
mymenu=nuke.toolbar('Nodes',)
mymenu.addCommand('Clip Line UP','appendallclips()')

 

 

Sign in or register to download or rate.