Runstopable Posted October 30, 2013 Share Posted October 30, 2013 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 Quote Link to comment Share on other sites More sharing options...
tmdag Posted October 30, 2013 Share Posted October 30, 2013 (edited) "{ parm1 == 0 } { parm2!=1 )" will act like parm1 equal 0 OR parm2 not equal 1 Not sure why you are getting an error, could you attache sample scene file ? Edited October 30, 2013 by tmdag Quote Link to comment Share on other sites More sharing options...
yongbin Posted October 30, 2013 Share Posted October 30, 2013 } not ) Quote Link to comment Share on other sites More sharing options...
tmdag Posted October 30, 2013 Share Posted October 30, 2013 yeah, typo, tx ;] Quote Link to comment Share on other sites More sharing options...
Runstopable Posted November 3, 2013 Author Share Posted November 3, 2013 Thanks Albert, unfortunately no AND possible then.I will try to post a file about the error soon. Cheers Quote Link to comment Share on other sites More sharing options...
freaq Posted January 15, 2015 Share Posted January 15, 2015 (edited) on this topic I need to hide a button unless the value of parm1!=0or!= 1so any other value show it. any tips? turns out one can do this:{ parm1 != 0 parm1 != 1 parm1 != 99 } Edited January 16, 2015 by freaq Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted January 16, 2015 Share Posted January 16, 2015 Hide When: { parm1 == 0 } { parm1 == 1 } Quote Link to comment Share on other sites More sharing options...
Guest mantragora Posted January 16, 2015 Share Posted January 16, 2015 (edited) 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 January 16, 2015 by mantragora Quote Link to comment Share on other sites More sharing options...
soumitra.goswami Posted March 25, 2017 Share Posted March 25, 2017 Is there a way to do it with the 'and' operator? Quote Link to comment Share on other sites More sharing options...
Matt_K Posted March 25, 2017 Share Posted March 25, 2017 (edited) Hey Soumitra, If you use something like : { parm1 == 1 parm2 == 5} then it behaves as if it was using an 'and' operator. Matt. Edited March 25, 2017 by Matt_K fix 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.