Find NodeType, all versions

Original post by Tomas Slancik is here.
Documentation is here.

import hou
import nodesearch

root = hou.node("/obj")
matcher = nodesearch.NodeType( "xb::xform", hou.objNodeTypeCategory() )
nodes = matcher.nodes( root, recursive=True )
print (nodes)