Hi all,
Frank rueter's pan & tile script is a very handy time saver.
I needed a script that operates the same however, the nodes are different.
Basically, it would make X amount of copies of your selected read node, that all connect to a switch node. It would be nice if a grade node would be generated below ever read node.
So it would look like the pan & tile set up except:
The frame holds would be READ nodes
The card node would be Grade nodes
The scene node would be the Switch node
I had a script that was made for me (thanks Samzen) that creates read nodes to a switch, however, the nodes are not evely spaced & there are no grade nodes generated.
Here is the script:
a=nuke.getInput('duplicates')
i=0
while i < int(a):
b=nuke.selectedNode()
nuke.nodeCopy('b')
nuke.nodePaste('b')
i=i+1
sw=nuke.nodes.Switch()
an = [n for n in nuke.allNodes() if n.Class() == "Read"]
s=len(an)
x=0
while x != s:
sw.setInput(x,an[x])
x=x+1
Maybe someone could refine it,
Thanks,
Lou