A simple script to search for nodes

This is a simple script to search for nodes by name. You can use it in python shell. And don’t forget increasing indent on each line:

for node in hou.root().allSubChildren():
    if "ray" in node.name():
        print node.path()