Shortcut for Show Handle tool

   2395   7   1
User Avatar
Member
2 posts
Joined: Oct. 2023
Offline
Hallo there, I would like to ask you - is there any way to assign shortcut to Show Handle tool(default shortcut is Enter) ? I tried everything but I have no luck to find solution, hopefuly there is some. Thank you

Attachments:
handle_tool.png (25.6 KB)

User Avatar
Member
2 posts
Joined: Oct. 2023
Offline
...ok I realized I can find that tool in Shortcuts manager as Edit Current Operation but now I have another problem and it seems like a bug: This tool is triggered by key Enter as default and it works perfectly. When I change this shortcut for example to Space or key D or X it sometimes works but most of the time it's not triggered by pressing that key. So for example if I continuously press two keys 'S' and 'Enter' it's switching between Select tool end Edit current tool (the handles). But if I assigned to Edit current tool key 'D' for example and now I try switching between Selection tool and Edit current tool, it works only once and only sometimes and then nothing. I have no idea what's wrong with this tool / shortcut assignment. Is there something wrong am I doing ? Thank you
User Avatar
Member
8173 posts
Joined: Sept. 2011
Offline
lukemorte
...ok I realized I can find that tool in Shortcuts manager as Edit Current Operation but now I have another problem and it seems like a bug: This tool is triggered by key Enter as default and it works perfectly. When I change this shortcut for example to Space or key D or X it sometimes works but most of the time it's not triggered by pressing that key. So for example if I continuously press two keys 'S' and 'Enter' it's switching between Select tool end Edit current tool (the handles). But if I assigned to Edit current tool key 'D' for example and now I try switching between Selection tool and Edit current tool, it works only once and only sometimes and then nothing. I have no idea what's wrong with this tool / shortcut assignment. Is there something wrong am I doing ? Thank you

Maybe you have to change 'Accept' to the same key, or hit whatever key is assigned to 'Accept' to complete the selection?

Edit after further investigation:
Edit Current Operation doesn't have a key assigned to it by default, so I don't think the 'Enter' key is actually activating that operation. The show handle action is probably hardcoded to the 'Enter' key.
Edited by jsmack - Nov. 11, 2023 12:18:22
User Avatar
Member
670 posts
Joined: Nov. 2013
Offline
I have the same problem. Switching state from viewer tool buttons is not always work.
User Avatar
Member
313 posts
Joined: Oct. 2016
Offline
Try placing this in a shelf and add hotkey

def enterViewState():
    scene_viewer = hou.ui.paneTabOfType(hou.paneTabType.SceneViewer)
    scene_viewer.enterViewState()

enterViewState()
Interested in character concepts, modeling, rigging, and animation. Related tool dev with Py and VEX.
User Avatar
Member
22 posts
Joined: Sept. 2012
Offline
I struggled to find that one as well. The following works for me. Go to Edit > Hotkey Manager. Search for "Enter". Now expand the window so that you can see third column in "Action In All Contexts" list. Now change "Accept" action for "/Houdini/Panes/Geometry Viewers". I added "Ctr + Space" to mine.
User Avatar
Member
13 posts
Joined: Nov. 2018
Offline
When working in Houdini, I totally recommend getting a gaming keyboard with 5 programmable keys running down the left side. You can program then Enter key to one of the keys. Then it will be right under your pinky finger! That and also put on the M and Y keys for changing axis and translation modes. It will speed up your workflow a lot. I sympathize with you on the Enter key.. I couldn't stand reaching over the keyboard to hit the enter key so often. BTW, I work with a Wacom tablet so my right hand is not available to hit the enter key on the right side of the keyboard.
User Avatar
Member
371 posts
Joined: Aug. 2018
Offline
I've typically mapped the Accept / Enter key to the 'accent grave' key just under the escape key in the top left corner of the typical keyboard. However as I've moved to use the modeller plugin hotkey map I've now mapped 'accept' to one of the side keys on my mouse - and 'escape' to the other. This works quite well : )
  • Quick Links