nodes= nuke.selectedNodes('Read')
for node in nodes:     
        if 'exr' in node['file'].value():
                remove = nuke.createNode('Remove')
                remove.setInput(0,node) 
                nuke.tprint(node.name())
                remove['operation'].setValue(1)
                remove['channels'].setValue('rgba')



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

Reply via email to