Hans Peter Posted September 17, 2017 Share Posted September 17, 2017 Hey, I got a really stupid question but I can't get it to work ATM. I want to put an expression in e.g. a fluid source node in dops. Something like "if($FF)<225, 1, 0)". So when smaller than frame 225 take 1, else 0 (or another expression like a sin curve). What am I missing here? Quote Link to comment Share on other sites More sharing options...
f1480187 Posted September 17, 2017 Share Posted September 17, 2017 1 hour ago, Heraklit said: if($FF)<225, 1, 0) There is parentheses mismatch resulting in syntax error. After fix, it should work as described. Quote Link to comment Share on other sites More sharing options...
Hans Peter Posted September 17, 2017 Author Share Posted September 17, 2017 Nope, unfortunately still not working if(($FF<225, 1, 0)) if($FF)<225, 1, 0 if $FF<225, 1, 0 if$FF<225, 1, 0 None of them, its only returning 0 Quote Link to comment Share on other sites More sharing options...
Skybar Posted September 17, 2017 Share Posted September 17, 2017 (edited) if(condition, true, false) if($FF < 10, 1, 0) $FF<10 works too Edited September 17, 2017 by Skybar 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.