You can lock the ViewCube to one or more selected objects by clicking the Lock to Selection option from the ViewCube context menu.
Selecting and deselecting objects after Lock to Selection is enabled has no effect on the center or distance from the center of the view when a view orientation change occurs with the ViewCube tool. Zooming to the extents of a model will not occur when Lock to Selection is enabled, even if the ViewCube tool is set to zoom to extents after each view orientation change.
To lock to the current selection
If Lock to Selection is checked when a view orientation change occurs, the ViewCube uses the selected objects to calculate the center of the view and zooms to the extents of the selected objects. When the option is unchecked, the ViewCube uses the selected objects to calculate the center of the view and zooms to the extents of the model.
To examine an individual object with the ViewCube
The ViewCube reorients the view of the model based on the center point of the selected objects.