Below piece of code will do this...

for n in nuke.allNodes('ChannelMerge'):
    n['selected'].setValue(True) 
    nuke.collapseToGroup()



_______________________________________________
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