TomRaynor Posted May 3, 2013 Share Posted May 3, 2013 In my otl I want to disable a parameter based on two other parameters. I want to say "disable the parameter if the enableSimulation parameter is zero or if the useCache parameter is one". I thought this syntax would work but it doesn't... Am I doing something stupid? { enableSimulation == 0 || useCache == 1 } Cheers! Quote Link to comment Share on other sites More sharing options...
eetu Posted May 3, 2013 Share Posted May 3, 2013 The conditions are defined with the brace layout. In your case it would be { enableSimulation == 0 } { useCache == 1 } http://www.sidefx.com/docs/houdini12.5/ref/windows/optype#conditionals Quote Link to comment Share on other sites More sharing options...
TomRaynor Posted May 8, 2013 Author Share Posted May 8, 2013 Ah perfect, thanks eetu. 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.