viewlayout command

Rearranges viewports in a viewer pane.

Replaced by: hou.SceneViewer

All Usages Options Examples

Usages

  1. viewlayout -s type viewer [viewer2 ...]

  2. viewlayout -d h|v type1 type2 viewer [viewer2 ...]

  3. viewlayout -q viewer [viewer2 ...]

  4. viewlayout -T h|v viewer [viewer2 ...]

  5. 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:

  1. The view in quad-view’s top-left viewport.

  2. The view in quad-view’s top-right viewport.

  3. The view in quad-view’s bottom-left viewport.

  4. The view in quad-view’s bottom-right viewport.

See how to refer to viewers and viewports .

Options

-s type

Fill the viewer with a single viewport.

-d h|v type1 type2

Split the viewer between two viewports (h = horizontal split, v = vertical split).

-q

Quad view.

-T h|v

Split the viewer between three viewports with one viewport taking up half the viewer (h = horizontal split, v = vertical split).

-Q h|v

Split the viewer between four viewports with one viewport taking up half the viewer (h = horizontal split, v = vertical split).

Examples

viewlayout -q Build.*.world
Use the quad-view layout in all viewers of the Build desktop.

viewlayout -d h 1 3 Build.pane1.world
Use 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.world
Use only the bottom-right view in the above viewer.