Set Flags outside of NetworkEditor?

   452   1   0
User Avatar
Member
5 posts
Joined: Sept. 2023
Offline
Hi Folks,

Is it possible to use the hotkey E (Set Secondary Flag) and R (Set Third Flag), while the cursor is in Parameter Editor?

In the Hotkey Manager its under: Houdini/Panes/Network Editor
Edited by phonebreaker - Dec. 8, 2025 10:59:29
User Avatar
Member
5 posts
Joined: Sept. 2023
Offline
A:
-Go to Shelf Too
-RMB new tool in shelf
-jump inside the tool head to hotkeys tab and press edit in the global hotkeys


The code to put in the tool:

flag = hou.nodeFlag.Display # Change this to the flag you want to toggle

p= hou.ui.paneTabOfType(hou.paneTabType.Parm)
current_node = p.currentNode()
value = current_node.isGenericFlagSet(flag)
current_node.setGenericFlag(flag, not value)




////The current code does this for the display flag but you can make it for any other flag, just replace the first line with flag = ... by the flag you want (see the list here: http://www.sidefx.com/docs/houdini/hom/hou/nodeFlag.html)




Credits goes to Matthis Bozec. Thank you very much !
  • Quick Links