probiner 83 Posted September 6, 2018 (edited) Given two string parameters I tried to check if they are equal to disable another parameter, but doesn't work atm. { parma == "" } works { parmb == "" } works { parma == parmb } doesn't work Any idea why? Thanks Edited September 6, 2018 by probiner Share this post Link to post Share on other sites
LaidlawFX 274 Posted September 7, 2018 Here is the documents on this. In short, they can an only look at the resolved values, i.e. a local referenced parameter on the left, and a static value on the right. http://www.sidefx.com/docs/houdini/ref/windows/optype.html#conditions So you could do { parma == "" parmb == "" } this would mean they both need to be true in order to work an (and) operation. Or if { parma == "" } { parmb == "" } would be an (or) operation. You can also do ==, !=, <, >, >=, <=, =~ (matches pattern), !~ (doesn’t match pattern) as additional operations. What is a actually quite common is to make a parameter that is invisible (or under a hidewhen under an advanced set of options) that you can use to hide and disable parameter and folder menus. Share this post Link to post Share on other sites
probiner 83 Posted September 8, 2018 @LaidlawFX Thanks I visited this page but didn't notice that. I guess I'll an expression on a hidden param and that is a resolved value I can then use as conditional. Thanks! Share this post Link to post Share on other sites
klawchi 0 Posted May 12 Is this working only with local parm? Can you check if another node's parm? Share this post Link to post Share on other sites