Nuke’s built in nuke.allNodes()
function offers two very useful features- the ability to filter for a single node class, and the ability to recurse deep into groups. What it doesn’t offer is the ability to do both at once. If you set a filter class and recurseGroups=True
, the recurseGroups
argument will be ignored and only the first level results will be found. Also of importance is that Nuke attempts to derive what Group
you want to search within if you don’t provide a group
argument, but it usually guesses poorly. Let’s fix those bugs as easily as we can.