Can we replace the algorithm above by a call to SceneInterface::stringToPath(hitName) ?