viewdisplay command

Set various options of a viewport or view-memory.

Replaced by: hou.GeometryDisplayToggles, hou.GeometryViewportSettings

All Usages Options

Usages

  1. viewdisplay [options] viewports/view-memories

If you specify a view-memory that doesn’t exist, the command will create it.

The -N, -E, and -I options take an apply_to argument for which geometry they should apply to. This can be one of:

all

Apply to both selected and unselected

sel

Apply to selected

unsel

Apply to unselected

templ

Apply to templates

curr_all

Apply to both selected and unselected current geometry (in “current operator” mode)

curr_sel

Apply to selected current geometry (in “current operator” mode)

curr_unsel

Apply to unselected current geometry (in “current operator” mode)

You can only specify one -N, -E, -I, or -M option per command. So, to turn point markers on and point normals off, you would need two commands: “viewdisplay -N all m on viewname” and “viewdisplay -N all n off viewname”

See how to refer to viewers and viewports .

Options

-M apply_to mode

Where apply_to controls for which geometry to change the display (see description), and mode is one of:

bound_box_wire

Wireframe Bounding Box

bound_box_shade

Shaded Bounding Box

wire

Wireframe

hidden_invis

Hidden Line Invisible

hidden_ghost

Hidden Line Ghost

flat

Flat Shaded

flat_wire

Flat Wire Shaded

shade

Smooth Shaded

shade_wire

Smooth Wire Shaded

vex

VEX Shaded

vex_wire

VEX Wire Shaded

-N apply_to m on|off

Show points on/off

-N apply_to n on|off

Show point numbers on/off

-N apply_to l on|off

Show point normals on/off

-N apply_to t on|off

Show texture coordinates on/off

-N apply_to p on|off

Show point positions on/off

-E apply_to n on|off

Show vertex numbers on/off

-E apply_to t on|off

Show vertex texture on/off

-E apply_to g on|off

Show vertex grips on/off

-I apply_to n on|off

Show primitive numbers on/off

-I apply_to l on|off

Show primitive normals on/off

-I apply_to h on|off

Show primitive hulls on/off

-I apply_to t on|off

Show primitive profiles on/off

-I apply_to p on|off

Show primitive profile numbers on/off

-I apply_to b on|off

Show primitive breakpoints on/off

-I apply_to f on|off

Show filled backfaces in UV on/off

-B bw|wb

Color scheme (bw = light background, wb = black background).

-a on|off

Match selected with unselected on/off

-A templ|curr_all|curr_unsel|curr_sel on|off

For template or current geometry, turn faded look on/off

-b on|off

Backface culling on/off

-c on|off

Shade open curves on/off. The object must have its appropriate display flag turned on for this option to affect it.

-C value

Hidden line constant sensitivity level.

-d on|off

Particle origin axes on/off

-D on|off

Geometry on/off

-e value

Line width

-f on|off

Field guide on/off

-F on|off

Filled selections on/off

-g on|off

Guide geometry on/off

-G visible

Visible Objects mask. Default is “*“.

-h on|off

“hulls only” on/off

-H on|off

Handles on/off

-i on|off

footprint geometry on/off

-j on|off

object names on/off

-J on|off

full object paths on/off (if object names is on)

-k on|off

Camera mask on/off

-l value

Level of detail (default is 1.0)

-L on|off

Multi-texturing on/off

-m on|off

Camera name on/off

-n value

Normals display scale (default is 0.2)

-o on|off

Origin axes on/off

-O on|off

Floating origin axes on/off

-p value

Point size

-P points|lines|sprites

Particle display mode.

-q on|off

Transparency on/off

-Q on|off

State status on/off

-r on|off

Projected textures and spotlights on/off

-R on|off

Target output geometry on/off

-s on|off

Show safe area on/off

-S on|off

Specular on/off (in shaded mode).

-t on|off

Texturing on/off (in shaded mode).

-T on|off

Templated geometry on/off

-u on|off

Track component selection mode to automatically enable useful decoration drawing.

-U value

Shadow variable sensitivity level.

-v on|off

Viewport name on/off

-V value

Hidden line variable sensitivity level.

-W on|off mode threshold

Turn option to draw in mode when the object render time is greater than or equal to threshold, where mode is one of:

bound_box_wire

Wireframe Bounding Box

bound_box_shade

Shaded Bounding Box

wire

Wireframe

hidden_invis

Hidden Line Invisible

hidden_ghost

Hidden Line Ghost

flat

Flat Shaded

flat_wire

Flat Wire Shaded

shade

Smooth Shaded

shade_wire

Smooth Wire Shaded

vex

VEX Shaded

vex_wire

VEX Wire Shaded

-x on|off

YZ plane grid on/off

-X on|off

Draw shadows on/off

-y on|off

XZ plane grid on/off

-Y value

Shadow constant sensitivity level.

-z on|off

XY plane grid on/off

-Z on|off

Z sorting of sprites on/off