Jump to content

Hiding Tabs in Operator Type Properties


Recommended Posts

Hi There

my question is according to the "Tab Hide When" feature in the Operator Type Properties Dialog.

I have managed to hide some tabs by writing {parametername == 0} for example. Everything works fine except that the Houdini Console is stating

Nodename getDescriptiveName: Invalid parameter name 0

everytime I change something in the menue. How can I fix this.

Is there also a way to Hide Tabs/Parameters by logical combinations?

{parm1 == 0 || parm2 !=1} did not work for instance.

Cheers

Link to comment
Share on other sites

  • 1 year later...

on this topic 
I need to hide a button unless the value of parm1
!=0
or
!= 1
so any other value show it.

any tips?

 

turns out one can do this:

{ parm1 != 0 parm1 != 1 parm1 != 99 }

Edited by freaq
Link to comment
Share on other sites

Guest mantragora

turns out one can do this:

{ parm1 != 0 parm1 != 1 parm1 != 99 }

 

Isn't it doing the opposite of what you want? Maybe I didn't understood your explanation but "unless the value of parm1 != 0 or != 1" means if it's 0 or 1, hide it, show if it's anything but 0 or 1, right?

Edited by mantragora
Link to comment
Share on other sites

  • 2 years later...

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...