Open this page in the API Guide

CubePerspectiveFolderNode.expandPath Method

Expand the node, along with all the nodes up to the root node.