hou.Desktop class
Class representing a Houdini desktop (a pane layout).
Methods
createFloatingPane(self, pane_tab_type, position=(), size=())→ hou.PaneTab-
Create and return a new floating window of the given type.
Position
A tuple of two floats specifying the X and Y position of the new window, respectively. The window will open near this position, not necessarily exactly at this position.
Size
A tuple of two floats specifying the width and height of the new window, respectively.
displaySideHelp(self, show=True)→ hou.PaneTab-
Shows or hides the side help pane.
If show is set to True (default) the help pane is displayed and a HelpBrowser object representing the pane is returned. If set to False it is hidden and None is returned.
findPaneTab(self, name)→ hou.PaneTab or None-
Returns the pane tab matching the given name. If no such tab exists in the desktop, then None is returned.
floatingPaneTabs(self)→ tuple of hou.PaneTab-
Returns a tuple of the floating pane tabs in the desktop.
homePage(self)name(self)→str-
Returns the Desktop’s name.
Each desktop has a unique name. The desktop’s name cannot be changed through either the scripting interface or through Houdini.
paneLinkNumbers(self)→ tuple of numbers /Nonepanes(self)→ tuple of hou.Pane-
Returns a tuple of the panes contained in the desktop.
panesInLinkNumber(self, number)→ tuple of hou.PanepaneTabOfType(self, type, index=0)→ hou.PaneTab orNone-
Finds and returns the pane tab with the desired type. If no such tab exists in the desktop, returns None.
If there are multiple tabs in the desktop with the desired type, then the first found tab is returned. Use 'index' to return the other tabs. For example, use
index=0to return the first found tab,index=1to return the second found tab, etc. paneTabs(self)→ tuple of hou.PaneTab-
Returns a tuple of pane tabs that are contained in the desktop. This method does not return floating pane tabs.
pathBasedPaneLinkNumbers(self)→ tuple of numbers /NonepathBasedPanesInLinkNumber(self, number)→ tuple of hou.PanesceneViewers(self)→ tuple of hou.SceneViewersetAsCurrent(self)setHomePage(self, home_page)setPathForAllPanes(self, path)shelfDock(self)→ hou.ShelfDock-
Returns the shelf dock for the current desktop.