viewlayout
command
Rearranges viewports in a viewer pane.
Replaced by: hou.SceneViewer
Usages
-
viewlayout -s type viewer [viewer2 ...] -
viewlayout -d h|v type1 type2 viewer [viewer2 ...] -
viewlayout -q viewer [viewer2 ...] -
viewlayout -T h|v viewer [viewer2 ...] -
viewlayout -Q h|v viewer [viewer2 ...]
The -s (single view) and -d (double view) options take a type argument, a number from 1 to 4, to specify which view to put in the viewport.
The numbers 1 to 4 do not correspond to actual views (such as top, left, side, perspective), but rather refer to whatever view is in a particular viewport in the quad view:
-
The view in quad-view’s top-left viewport.
-
The view in quad-view’s top-right viewport.
-
The view in quad-view’s bottom-left viewport.
-
The view in quad-view’s bottom-right viewport.
See how to refer to viewers and viewports .
Options
|
|
Fill the viewer with a single viewport. |
|
|
Split the viewer between two viewports (h = horizontal split, v = vertical split). |
|
|
Quad view. |
|
|
Split the viewer between three viewports with one viewport taking up half the viewer (h = horizontal split, v = vertical split). |
|
|
Split the viewer between four viewports with one viewport taking up half the viewer (h = horizontal split, v = vertical split). |
Examples
viewlayout -q Build.*.worldUse the quad-view layout in all viewers of the Build desktop.
viewlayout -d h 1 3 Build.pane1.worldUse views 1 and 3 in a vertical double-view layout in the viewer that’s in the Build desktop’s pane1.
viewlayout -s 4 Build.pane1.worldUse only the bottom-right view in the above viewer.