Jump to content

Hotkeys for 'forcefully update all values' in Manual mode?


Recommended Posts

As I am working with heavy geo, I want to keep my houdini session as 'Manual'. Although it would be convenient if there was a shortcut instead of clicking the two arrows to cook it.

 

I've found a script that toggle between auto update/manual mode, but that's not what I am looking for.

 

I've seen a person who's doing this with shortcut with a script. How do I set this up?

 

Thank you!!

Link to comment
Share on other sites

If you have a script like 'ForceUpdate.py' in your houdini scripts/python dir

you can set an alias for it like:

hou.hscript("alias F9 'python -c \"ForceUpdate.ForceUpdate()\"' ")

 

That assumes that the updating is done in a function named 'ForceUpdate()' in the file 'ForceUpdate.py'

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...