Gaalvk
you can open create a new floating window from the Window menu or press the hotkey alt-shift-W ...
Hey gracias, yes that's basically what I do every time.
But I consulted ChatGPT and came up with a Python script that opens it with a single click, sooo much better.
Just add this script to a Tool on a Shelf:
import hou
def open_geometry_spreadsheet(width=900, height=700, x=200, y=150):
desktop = hou.ui.curDesktop()
floating_panel = None
# Try to find an existing Geometry Spreadsheet to clone
for tab in hou.ui.paneTabs():
if isinstance(tab, hou.GeometrySpreadsheet):
floating_panel = tab.clone().floatingPanel()
break
if floating_panel is None:
floating_panel = desktop.createFloatingPanel(hou.paneTabType.SceneViewer)
hou.ui.displayMessage("No Geometry Spreadsheet was open. Opened a generic floating panel instead.")
try:
from PySide2 import QtWidgets, QtCore
qt_window = hou.qt.floatingPanelWindow(floating_panel)
# Use QTimer to resize AFTER the window has been shown
def resize_later():
qt_window.showNormal() # make sure it's not maximized
qt_window.resize(width, height)
qt_window.move(x, y)
QtCore.QTimer.singleShot(200, resize_later) # 200ms delay usually safe
except Exception as e:
hou.ui.displayMessage("Could not resize/move panel:\n{}".format(e))
return floating_panel
# Example usage
open_geometry_spreadsheet(1000, 800, 100, 100)