Makes the specified view in a docked layout visible if it's hidden. For example,
you can use this command to change the main toolbar from the Toolbar Panel to
the Weight Paint Panel or the Palettes Panel.
You specify the name of the view (you can get it from the SIObject.Name
property of the View object) to identify it. This allows you to
pick from multiple instances of one view type, if necessary. Alternatively, you
can use the SwitchToViewByType command, which allows you to
specify the view to switch to by SIObject.Type instead.
Note: This command cannot switch between any of the toolbar menus on the Toolbar
Panel. However, you can use this command with the Type argument set to "Toolbar
Panel" to open the toolbar panel and then use the SwitchToolbar
command to switch between toolbar menus (Model, Animate, Render, Simulate, and Hair).