Digital Asset Hotkey working in the scene viewer

   386   2   3
User Avatar
Member
16 posts
Joined:
Offline
Hello,

I created a simple digital asset "mirrorAll" (mirror with an * in the "group" entry). It appears in Tab/Digital Asset and once selected, it works fine, I can mirror the entire geometry without having to select manually all the primitives.

How can I assign a hotkey to this digital asset working in the Scene Viewer to accelerate modeling ?

I've tried to create a tool in a new shelf : it works in the Network View but not in the Scene Viewer.

The best working way I found to accelerate a little the modeling in the Scene Viewer, is to make an entry in a Radial Menu and select it, and it works fine. But the hotkey assigned to this entry doesn't work.

Thanks for you time, cheers, Chris
User Avatar
Member
253 posts
Joined: May 2017
Offline
Hi,

it works in the Network View but not in the Scene Viewer.
If the hotkey fails ensure that you have set the correct context or global mapping.

If you intend to emulate the tab key in the scene viewer which connects the selected node to the tool you are applying, try this:

target_node = hou.selectedNodes() # ref to selected node(s)
if target_node: 
    target_node = target_node[0]
    target_node.setSelected(False)
    # init your hda...
    node_type_name = 'box' # here your hda type name
    your_hda = target_node.parent().createNode(node_type_name)
    # set network properties
    your_hda.setInput(0, target_node)
    your_hda.setDisplayFlag(True)
    your_hda.setRenderFlag(True)
    your_hda.setSelected(True)
    target_node_pos = target_node.position()
    your_hda.setPosition(hou.Vector2(target_node_pos[0], target_node_pos[1] - 1))

If you attemp to setup through the asset type properties, then you have to add the shelf tool manually: docs [www.sidefx.com]

Assign the hotkey through the shelf tool which you added to the shelf tool bar, not in type properties of the hda - do not work, at least not for me.

It should also appear in viewers tab menu now:
Edited by vikus - March 8, 2026 05:26:56

Attachments:
Screenshot From 2026-03-08 09-59-53.png (67.0 KB)
Screenshot From 2026-03-08 10-02-04.png (115.0 KB)

User Avatar
Member
16 posts
Joined:
Offline
Thanks a lot for your time.

The asset is already in Tab/Digital Assets.
I assigned a shortcut to the asset in a personal shelf, the shortcut works fine in the Network View but not in the Scene View.
I forgot to mention that I'm on Archlinux/KDE Plasma, so it could be the problem.

Thank again for your time, I appreciate it.
Have a nice day Vikus, Chris
  • Quick Links