git.lucas.co / hou-control
SideFX Houdini customization package
git clone https://git.lucas.co/hou-control.git

commit474aecb51dc4d02fccad5e92eeeedf5c7b632c4d
parentb7c9ff3982
authorLucas Galante <[email protected]>
date2026-09-17 15:12
session: Open Hotkey Editor panel command

Edit > Hotkeys... is a compiled-in actionItem with no HOM call behind it;
the window it opens is hotkeys.mainwidget.showHotkeyManagerWindow().

Co-Authored-By: Claude Fable 5.1 <[email protected]>

 python3.13libs/hc/hcsession.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/python3.13libs/hc/hcsession.py b/python3.13libs/hc/hcsession.py
index 044aa08..12fa9e0 100644
--- a/python3.13libs/hc/hcsession.py
+++ b/python3.13libs/hc/hcsession.py
@@ -270,6 +270,13 @@ class HCSession:
     def openPreferences(self):
         hou.ui.openPreferences('ui', '')
 
+    @command("Open Hotkey Editor")
+    def openHotkeyEditor(self):
+        # Edit > Hotkeys... is a compiled-in actionItem (h.hotkey_mgr) with
+        # no HOM call behind it; the window it opens is this Python module.
+        from hotkeys import mainwidget
+        mainwidget.showHotkeyManagerWindow()
+
     def statusDialog(self):
         """The HC Status dialog if one has been created, else None."""
         from .hcstatus import HCStatus