cwalrus Posted November 5, 2015 Share Posted November 5, 2015 (edited) Hi guys- just trying to find a hotkey to hide the visibilty of selected objects, ie. clicking the blue square on the right of the node. I went to the hotkey editor and found "hide selected" but it does something differnent. Is there a way, as in Maya, that you can see the 'script' or code for whatever command you press? Then of course assigning a hotkey would be easier.... On that note, where are the display flags listed, other than the representation by the blue toggle button? Thanks people Edited November 5, 2015 by cwalrus Quote Link to comment Share on other sites More sharing options...
fathom Posted November 5, 2015 Share Posted November 5, 2015 Is there a way, as in Maya, that you can see the 'script' or code for whatever command you press? Then of course assigning a hotkey would be easier.... the ui in maya is built ontop of the mel code, so the whole "script from a button press" thing is part of the intrinsic way it works. houdini's ui is not done that way, so there's not necessarily a script equivalent for your clicks. i wish the ui was built from something accessible (like python) so it'd be easier to hack into, but alas, it is not. Quote Link to comment Share on other sites More sharing options...
cwalrus Posted November 6, 2015 Author Share Posted November 6, 2015 Anyone else? Key for visibility of a node / display toggle? Quote Link to comment Share on other sites More sharing options...
mestela Posted November 6, 2015 Share Posted November 6, 2015 Select a node, hit '1'. 1 Quote Link to comment Share on other sites More sharing options...
cwalrus Posted November 6, 2015 Author Share Posted November 6, 2015 BAM! Quote Link to comment Share on other sites More sharing options...
mestela Posted November 6, 2015 Share Posted November 6, 2015 (edited) Re codey discovery, here's what I did, that indirectly led to finding the hotkey was 1: dragged a geo node into the python shell went to the start of the line, prefixed n =, so i had a variable like this: n = hou.node('/obj/geo1') hit enter, so now 'n' is assigned as that node dir(n) <enter>, displays all callable functions on that node. have a browse. spot likely contender, setDisplayFlag try it out: n.setDisplayFlag(0) <enter>, works go to hotkey editor, search for display, find its already assigned as hotkey 1. post here Strangely, I had accidentally discovered this in sops and use it all the time, didn't know it worked in the /obj context. My nuke muscle memory always kicks in, and I hit '1' like I do in nuke to attach a node to the viewer, to my joy houdini does the same thing. '2' sets the render flag, so its very quick to jump around the network setting render and display flags separately. Also easy to forget, curse houdini for 5 minutes that its rendering the wrong thing, only to realise its rendering some other node, exactly as you told it to. Edited November 6, 2015 by mestela Quote Link to comment Share on other sites More sharing options...
anim Posted November 6, 2015 Share Posted November 6, 2015 (edited) easier way to discover it is RMB on node, hover over Flags menu -> Display 1 (similarly Render 2, Bypass Shift+B ) Edited November 6, 2015 by anim 1 Quote Link to comment Share on other sites More sharing options...
cwalrus Posted November 6, 2015 Author Share Posted November 6, 2015 Awesome- thank you Quote Link to comment Share on other sites More sharing options...
michela Posted January 6, 2018 Share Posted January 6, 2018 Now that Quickmarks have been implemented. 1 isn't mapped to that anymore. It appears by default that R ("Set Third Flag") is now the way to toggle display but you only see this set in Hotkeys Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.