Probably not the best way but this should get yout started. You need to
have the exact same label in the read in the noOp.
reads = nuke.selectedNodes("Read")
noops = nuke.allNodes("NoOp")
for r in reads:
for n in noops:
if r['label'].value() == n['label'].value():
n.setInput(0,r)
On Fri, Aug 3, 2012, at 06:37, RP wrote:
Hello all,
Is there a way to connect a bunch of selected Read nodes to a bunch of
NoOp nodes based on label matching?
Thanks
RP
_______________________________________________
Nuke-python mailing list
[1][email protected],
[2]http://forums.thefoundry.co.uk/
[3]http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
References
1. mailto:[email protected]
2. http://forums.thefoundry.co.uk/
3. http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
Hugo Léveillé
TD Compositing, Vision Globale
[email protected]
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python