samvac 2 Posted January 23 Hey up, Hope every one is well. Just a quick question regarding the switch if node. i want to switch based on the transform7 , ty value . is this possible ? if so any suggestions how i could script this ? Share this post Link to post Share on other sites
Alain2131 42 Posted January 23 Hey Sam, The If syntax can be found here → https://www.sidefx.com/docs/houdini/expressions/if.html if(ch("../transform7/ty")>0.5, 1, 0) But for a simple comparison such as this, you could simply remove the if altogether. ch("../transform7/ty")>1 This will resolve to 1 if true, and 0 if false. Share this post Link to post Share on other sites