python..seting inputs

i am trying to create 2 camera ,whch come with them beig attached to their scanline renders..
but this isnt working..
what am i doing wrong here….

Quote:

c1=nuke.createNode(‘Camera’)
c2=nuke.createNode(‘Camera’)
s1=nuke.createNode(‘ScanlineRender’)
s2=nuke.createNode(‘ScanlineRender’)
s2.setInput(2,c1)
s2.setInput(2,c2)


No Responses to “python..seting inputs”

Post a Comment