The intersection test returns the lowest level sub-node in the scene hierarchy. To determine the name of the node above the geometry node set
computePath to
True when you call the
viz.intersect command. The
name_path attribute of the returned
viz.Intersect object contains a list of sub-node names representing the full path to the intersected object within the scene hierarchy.