Jump to content

Access factory actions called by hotkeys


dotMov

Recommended Posts

I'm looking for a way to call the hotkey actions that ship with Houdini, for example "Home Selected" in the Network Editor context.  I'm not sure what an "action" really is, is it a method invoked via the HOM?  In this particular case I've tried using toolutils.homeToSelectionNetworkEditorsFor() but the behavior is not what I expect and would rather invoke the same "Home Selected" method that the hotkeys use via python.

Link to comment
Share on other sites

  • 2 years later...
On 10/20/2016 at 7:38 PM, dotMov said:

I'm looking for a way to call the hotkey actions that ship with Houdini,

Ohh, I'd like to know as well.

In my case I'd like to know how to access the "Select Viewport" action, that you can run from viewport menu.
Alternatively I'd like to know if you can run an hotkey with python. (In my case it would be "N", which is assigned by default to the 'Select Viewport' action)

 

 

selectviewport.JPG

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...