Lukich Posted May 11, 2007 Share Posted May 11, 2007 Do you guys know if there's a way to create a shortcut that wold turn on a display flag on a currently selected node? When the wrist starts going bad the last thing you need is to hunting down the display flag. Thanks a lot! Luka Quote Link to comment Share on other sites More sharing options...
antoinedurr Posted May 11, 2007 Share Posted May 11, 2007 Do you guys know if there's a way to create a shortcut that wold turn on a display flag on a currently selected node? When the wrist starts going bad the last thing you need is to hunting down the display flag.Thanks a lot! Luka # turn everything off, then turn on what's picked alias F4 'opset -d off /obj/*; set foo = `oppwf()`; opcf /obj; opset -d on `opflag("/obj", "p")`; opcf $foo' Quote Link to comment Share on other sites More sharing options...
Lukich Posted May 12, 2007 Author Share Posted May 12, 2007 (edited) # turn everything off, then turn on what's picked alias F4 'opset -d off /obj/*; set foo = `oppwf()`; opcf /obj; opset -d on `opflag("/obj", "p")`; opcf $foo' I tried to run it, but it doesn't seem to work. Techincally, I should run this command in the Textport, right? Never mind, just had to restart Houdini. Thanks a lot!!! Edited May 12, 2007 by Lukich Quote Link to comment Share on other sites More sharing options...
Lukich Posted May 12, 2007 Author Share Posted May 12, 2007 Hmm, it actually works on the object level only. Quote Link to comment Share on other sites More sharing options...
stevenong Posted May 12, 2007 Share Posted May 12, 2007 Hey Lukich, If you have the parameters of the node, you can click on the icon in the top left of the parameters (beside the two jump to keyframe buttons) & select Toggle Display. You can also RMB on the name in the network path and select Toggle Display as well. Hope the above helps! Cheers! steven Quote Link to comment Share on other sites More sharing options...
Lukich Posted May 15, 2007 Author Share Posted May 15, 2007 Yeah, but that also involves clicking. I was trying to figure out if there's a way to do it without a use of a mouse or tablet. Quote Link to comment Share on other sites More sharing options...
sibarrick Posted May 16, 2007 Share Posted May 16, 2007 The problem is I don't think there is any expression that will return the current level that you want to run the command in. Since you could have several panes open all pointing to different sops levels. If you did know the path you could probably use the opselect expression to return the current node and turn on the display flag. 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.