hou.SceneViewer
class
Inheritence: hou.Pane > hou.PathBasedPaneTab >
Methods
Methods inherited from hou.Pane: showPaneBar, showsPaneBar, tabs, splitHorizontally, tabOfType, sendKey, setIsMaximized, swapWithPane, splitVertically, createTab, desktop, isMaximized, currentTab
Methods inherited from hou.PathBasedPaneTab: setCurrentNode, currentNode, showsNetworkControls, followsParent, showNetworkControls, cd, pwd, removeBookmarks, setPwd, setFollowParent, bookmarks, addBookmark
isOpen(self)→ boolselectObjects(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-
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)→ GeometrySelectionselectPositions(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 Vector3sselectDynamics(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.DopDataselectDynamicsPoints(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)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)→ ParticleSelectionselectParticleNodes(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)→ ParticleSelectioncurrentState(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 GeometryViewportsfindViewport(self, name)→ GeometryViewportcurViewport(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)linkOrthoViewports(self)setLinkOrthoViewports(self, on)viewportLayout(self)setViewportLayout(self, layout)appliesToAllSplitViews(self)setApplyToAllSplitViews(self, on)snappingMode(self)setSnappingMode(self, snapping_mode)isSnappingToTemplates(self)setSnapToTemplates(self, on)isSnappingToOtherObjects(self)setSnapToOtherObjects(self, on)isDepthSnapping(self)setDepthSnapping(self, on)isOrientingOnSnap(self)setOrientOnSnap(self, on)viewerType(self)→ hou.viewerType enum valueisShowingObjectsAtSopLevel(self)setShowObjectsAtSopLevel(self, on)isCreateInContext(self) -> booldisplayedNodeBehaviour(self)setDisplayedNodeBehaviour(self, behaviour)memories(self)→ dict of ints to GeometryViewportSettingscreateMemoryFromViewport(self, viewport, number)→ GeometryViewportSettingsloadFromMemoryToViewport(self, viewport, number)deleteAllMemories(self)showsMemoriesAtBottom(self)setShowMemoriesAtBottom(self, on)createSnapshotFromViewport(self, viewport, number)showSnapshot(self, number)hideSnapshot(self, number)showsSnapshotsAtSourceFrame(self)setShowSnapshotsAtSourceFrame(self, on)snapshotAlphaBlend(self)setSnapshotAlphaBlend(self, alpha)snapshotObjectMask(self)setSnapshotObjectMask(self, mask)showsHandlesInSnapshots(self)setShowHandlesInSnapshots(self, on)render(self)renderOutput(self)setRenderOutputToBuiltIn(self, renderer)setRenderOutputToRop(self, rop_node)showsNodeToolbarAtTop(self)setShowNodeToolbarAtTop(self, on)showsPathAtTop(self)setShowPathAtTop(self, on)showsToolsAtBottom(self)setShowToolsAtBottom(self, on)showsDisplayToolsAtRight(self)setShowDisplayToolsAtRight(self, on)showsSelectionToolsAtLeft(self)setShowSelectionToolsAtLeft(self, on)setFlipbookOptions(self, options)