Jump to content

Hotkey For Display Flag


Recommended Posts

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

Link to comment
Share on other sites

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'

Link to comment
Share on other sites

# 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 by Lukich
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...