hou.SceneViewer class

All Methods Replaces

Inheritence: hou.Pane > hou.PathBasedPaneTab >

Methods

isOpen(self) → bool

Not implemented yet

selectObjects(self, prompt='Select objects', sel_index=0, allow_drag=False, quick_select=False, use_existing_selection=True, allow_multisel=True, allowed_types=('*',), icon=None, label=None) → tuple of Nodes

Not documented yet

Document that this can raise hou.OperationInterrupted.

selectGeometry(self, prompt='Select geometry', sel_index=0, allow_drag=False, quick_select=False, use_existing_selection=True, ordered=False, geometry_types=(), primitive_types=(), allow_obj_sel=True, icon=None, label=None) → GeometrySelection

Not documented yet

selectPositions(self, prompt='Click to specify a position', number_of_positions=1, connect_positions=True, show_coordinates=True, bbox=BoundingBox(), position_type=positionType.WorldSpace, icon=None, label=None) → tuple of Vector3s

Not documented yet

selectDynamics(self, prompt='Select dynamics objects', sel_index=0, allow_objects=True, allow_modifiers=False, quick_select=False, use_existing_selection=True, allow_multisel=True, icon=None, label=None) → tuple of hou.DopData

Not documented yet

selectDynamicsPoints(self, prompt='Select dynamics points', sel_index=0, quick_select=False, use_existing_selection=True, allow_multisel=True, only_select_points=True, icon=None, label=None) → tuple of (hou.DopData, hou.GeometrySelection)

Not documented yet

selectParticles(self, prompt='Select particles', sel_index=0, select_connected=True, quick_select=False, use_existing_selection=True, allow_multisel=True, icon=None, label=None) → ParticleSelection

Not documented yet

selectParticleNodes(self, prompt='Select particle nodes', sel_index=0, allow_generators=True, allow_modifiers=False, quick_select=False, use_existing_selection=True, allow_multisel=True, icon=None, label=None) → ParticleSelection

Not documented yet

currentState(self) → string

Returns the name of the viewer’s current tool state.

setCurrentState(self, state, wait_for_exit=False)

Sets the current tool state of the viewer. If wait_for_exit is True, then the function will not return until the viewer exits the tool.

enterCurrentNodeState(self, wait_for_exit=False)

Enters the viewer into the node-specific tool state of the last selected node. If wait_for_exit is True, then the function will not return until the viewer exits the tool.

enterViewState(self, wait_for_exit=False)

Enters the viewer into view tool state. If wait_for_exit is True, then the function will not return until the viewer exits the tool.

enterTranslateToolState(self, wait_for_exit=False)

Enters the viewer into translate tool state. This is available only for the node contexts that support the move tools. If wait_for_exit is True, then the function will not return until the viewer exits the tool.

enterRotateToolState(self, wait_for_exit=False)

Enters the viewer into rotate tool state. This is available only for the node contexts that support the move tools. If wait_for_exit is True, then the function will not return until the viewer exits the tool.

enterScaleToolState(self, wait_for_exit=False)

Enters the viewer into scale tool state. This is available only for the node contexts that support the move tools. If wait_for_exit is True, then the function will not return until the viewer exits the tool.

viewports(self) → tuple of GeometryViewports

Not documented yet

findViewport(self, name) → GeometryViewport

Not documented yet

curViewport(self)hou.GeometryViewport

Returns this viewer’s current viewport. The current viewport is the one containing the mouse cursor. If the cursor is not in a viewport, then the selected, or active, viewport is returned.

setCurViewport(self, viewport)

Not implemented yet

linkOrthoViewports(self)

Not implemented yet

setLinkOrthoViewports(self, on)

Not implemented yet

viewportLayout(self)

Not implemented yet

setViewportLayout(self, layout)

Not implemented yet

appliesToAllSplitViews(self)

Not implemented yet

setApplyToAllSplitViews(self, on)

Not implemented yet

snappingMode(self)

Not documented yet

setSnappingMode(self, snapping_mode)

Not documented yet

isSnappingToTemplates(self)

Not documented yet

setSnapToTemplates(self, on)

Not documented yet

isSnappingToOtherObjects(self)

Not documented yet

setSnapToOtherObjects(self, on)

Not documented yet

isDepthSnapping(self)

Not documented yet

setDepthSnapping(self, on)

Not documented yet

isOrientingOnSnap(self)

Not documented yet

setOrientOnSnap(self, on)

Not documented yet

viewerType(self) → hou.viewerType enum value

Not implemented yet

isShowingObjectsAtSopLevel(self)

Not implemented yet

setShowObjectsAtSopLevel(self, on)

Not implemented yet

isCreateInContext(self) -> bool

Not documented yet

displayedNodeBehaviour(self)

Not implemented yet

setDisplayedNodeBehaviour(self, behaviour)

Not implemented yet

memories(self) → dict of ints to GeometryViewportSettings

Not implemented yet

createMemoryFromViewport(self, viewport, number) → GeometryViewportSettings

Not implemented yet

loadFromMemoryToViewport(self, viewport, number)

Not implemented yet

deleteAllMemories(self)

Not implemented yet

showsMemoriesAtBottom(self)

Not implemented yet

setShowMemoriesAtBottom(self, on)

Not implemented yet

createSnapshotFromViewport(self, viewport, number)

Not implemented yet

showSnapshot(self, number)

Not implemented yet

hideSnapshot(self, number)

Not implemented yet

showsSnapshotsAtSourceFrame(self)

Not implemented yet

setShowSnapshotsAtSourceFrame(self, on)

Not implemented yet

snapshotAlphaBlend(self)

Not implemented yet

setSnapshotAlphaBlend(self, alpha)

Not implemented yet

snapshotObjectMask(self)

Not implemented yet

setSnapshotObjectMask(self, mask)

Not implemented yet

showsHandlesInSnapshots(self)

Not implemented yet

setShowHandlesInSnapshots(self, on)

Not implemented yet

render(self)

Not implemented yet

renderOutput(self)

Not implemented yet

setRenderOutputToBuiltIn(self, renderer)

Not implemented yet

setRenderOutputToRop(self, rop_node)

Not implemented yet

showsNodeToolbarAtTop(self)

Not implemented yet

setShowNodeToolbarAtTop(self, on)

Not implemented yet

showsPathAtTop(self)

Not implemented yet

setShowPathAtTop(self, on)

Not implemented yet

showsToolsAtBottom(self)

Not implemented yet

setShowToolsAtBottom(self, on)

Not implemented yet

showsDisplayToolsAtRight(self)

Not implemented yet

setShowDisplayToolsAtRight(self, on)

Not implemented yet

showsSelectionToolsAtLeft(self)

Not implemented yet

setShowSelectionToolsAtLeft(self, on)

Not implemented yet

setFlipbookOptions(self, options)

Not implemented yet

Replaces

vieweroption command , viewlayout command , viewls command , viewsnapshot command , viewsnapshotoption command