viewdisplay
command
Set various options of a viewport or view-memory.
Replaced by: hou.GeometryDisplayToggles, hou.GeometryViewportSettings
Usages
-
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
|
|
Where apply_to controls for which geometry to change the display (see description), and mode is one of:
|
||||||||||||||||||||||
|
|
Show points on/off |
||||||||||||||||||||||
|
|
Show point numbers on/off |
||||||||||||||||||||||
|
|
Show point normals on/off |
||||||||||||||||||||||
|
|
Show texture coordinates on/off |
||||||||||||||||||||||
|
|
Show point positions on/off |
||||||||||||||||||||||
|
|
Show vertex numbers on/off |
||||||||||||||||||||||
|
|
Show vertex texture on/off |
||||||||||||||||||||||
|
|
Show vertex grips on/off |
||||||||||||||||||||||
|
|
Show primitive numbers on/off |
||||||||||||||||||||||
|
|
Show primitive normals on/off |
||||||||||||||||||||||
|
|
Show primitive hulls on/off |
||||||||||||||||||||||
|
|
Show primitive profiles on/off |
||||||||||||||||||||||
|
|
Show primitive profile numbers on/off |
||||||||||||||||||||||
|
|
Show primitive breakpoints on/off |
||||||||||||||||||||||
|
|
Show filled backfaces in UV on/off |
||||||||||||||||||||||
|
|
Color scheme (bw = light background, wb = black background). |
||||||||||||||||||||||
|
|
Match selected with unselected on/off |
||||||||||||||||||||||
|
|
For template or current geometry, turn faded look on/off |
||||||||||||||||||||||
|
|
Backface culling on/off |
||||||||||||||||||||||
|
|
Shade open curves on/off. The object must have its appropriate display flag turned on for this option to affect it. |
||||||||||||||||||||||
|
|
Hidden line constant sensitivity level. |
||||||||||||||||||||||
|
|
Particle origin axes on/off |
||||||||||||||||||||||
|
|
Geometry on/off |
||||||||||||||||||||||
|
|
Line width |
||||||||||||||||||||||
|
|
Field guide on/off |
||||||||||||||||||||||
|
|
Filled selections on/off |
||||||||||||||||||||||
|
|
Guide geometry on/off |
||||||||||||||||||||||
|
|
Visible Objects mask. Default is “*“. |
||||||||||||||||||||||
|
|
“hulls only” on/off |
||||||||||||||||||||||
|
|
Handles on/off |
||||||||||||||||||||||
|
|
footprint geometry on/off |
||||||||||||||||||||||
|
|
object names on/off |
||||||||||||||||||||||
|
|
full object paths on/off (if object names is on) |
||||||||||||||||||||||
|
|
Camera mask on/off |
||||||||||||||||||||||
|
|
Level of detail (default is 1.0) |
||||||||||||||||||||||
|
|
Multi-texturing on/off |
||||||||||||||||||||||
|
|
Camera name on/off |
||||||||||||||||||||||
|
|
Normals display scale (default is 0.2) |
||||||||||||||||||||||
|
|
Origin axes on/off |
||||||||||||||||||||||
|
|
Floating origin axes on/off |
||||||||||||||||||||||
|
|
Point size |
||||||||||||||||||||||
|
|
Particle display mode. |
||||||||||||||||||||||
|
|
Transparency on/off |
||||||||||||||||||||||
|
|
State status on/off |
||||||||||||||||||||||
|
|
Projected textures and spotlights on/off |
||||||||||||||||||||||
|
|
Target output geometry on/off |
||||||||||||||||||||||
|
|
Show safe area on/off |
||||||||||||||||||||||
|
|
Specular on/off (in shaded mode). |
||||||||||||||||||||||
|
|
Texturing on/off (in shaded mode). |
||||||||||||||||||||||
|
|
Templated geometry on/off |
||||||||||||||||||||||
|
|
Track component selection mode to automatically enable useful decoration drawing. |
||||||||||||||||||||||
|
|
Shadow variable sensitivity level. |
||||||||||||||||||||||
|
|
Viewport name on/off |
||||||||||||||||||||||
|
|
Hidden line variable sensitivity level. |
||||||||||||||||||||||
|
|
Turn option to draw in mode when the object render time is greater than or equal to threshold, where mode is one of:
|
||||||||||||||||||||||
|
|
YZ plane grid on/off |
||||||||||||||||||||||
|
|
Draw shadows on/off |
||||||||||||||||||||||
|
|
XZ plane grid on/off |
||||||||||||||||||||||
|
|
Shadow constant sensitivity level. |
||||||||||||||||||||||
|
|
XY plane grid on/off |
||||||||||||||||||||||
|
|
Z sorting of sprites on/off |