Get all nodes which are of given types.
read_nodes = [] for node in nuke.allNodes(): if "Read" in node["name"].value(): read_nodes.append(node)