Nuke groups

Prints a recursive listing of all the group nodes in the nuke file

nodez = nuke.allNodes("Group", recurseGroups=True)
 levelnum = 1
 
 
 for a in nodez:
     if a.Class() == 'Group':
         #print a['name'].value()
         #print a.name()
         eachGrp = a.name()
         print eachGrp

Leave a Reply

Your email address will not be published. Required fields are marked *