Jump to content
Sign in to follow this  
dotMov

Access factory actions called by hotkeys

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×