Guest ravin Posted July 19, 2010 Share Posted July 19, 2010 If I want to specify multiple lines in an expression in a channel, how would I do that? For example, I want to check velocity for some min value and also the particles y position, so something like : if(point("....",$PT,"v",0)<10, 1, 0) && if($ty< 10, 1 ,0). I want to check both of these conditions in a node's channel. thanks, Quote Link to comment Share on other sites More sharing options...
Netvudu Posted July 19, 2010 Share Posted July 19, 2010 wouldn´t that be: if(point("...",$PT,"v",0)<10 && $TY<10, 1, 0) ? Quote Link to comment Share on other sites More sharing options...
Guest ravin Posted July 20, 2010 Share Posted July 20, 2010 wouldn´t that be: if(point("...",$PT,"v",0)<10 && $TY<10, 1, 0) ? Thanks, it worked. I was entering the wrong expression and wasn't sure whether '&&' works or not. 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.