Feedback

What's your question?

By: [ Editor ] Asked

Toggle update mode in Houdini

I find myself constantly changing the update mode in my Houdini scenes. That causes a lot of mouse milage and clicks. I think a hotkey to toggle this would be quite useful.

Add comment viewed 338 times Latest activity 10 months ago

or Cancel

2 answers

  • 1

georg kaltenbrunner [ Editor ]

so to answer my own question:

if you create a shelf tool with the following python script:

if hou.ui.updateMode() == hou.updateMode.AutoUpdate:
    hou.ui.setUpdateMode(hou.updateMode.Manual)
else:
    hou.ui.setUpdateMode(hou.updateMode.AutoUpdate)

you can easily assign a hotkey by ctrl - alt - shift clicking on it.

I hope somebody finds this as useful as I do.

NN comments
dan bethell
-

Cool! Also, I had no idea about CTRL+ALT+SHIFT for setting shelf hotkeys. Neat.

or Cancel
  • 1

dan bethell [ Editor ]

The update mode can be set via the hotkey manager, although the different modes are distinct actions so you can't toggle exactly.

They're referenced as /Houdini/Udate Mode 'Always' (auto) and /Houdini/Update Mode 'Never' (manual).

I also have a hotkey to /Houdini/Force Update for when i'm in manual mode... saves searching for the button over and over again.

NN comments
georg kaltenbrunner
-

Yeah, I saw those… but, like you said it’s not a toggle :) what annoyed me a bit is that Houdini does not allow you to put code straight onto hotkeys. Nevertheless, definitively a huge time saver your way or the other.

or Cancel