art3mis Posted June 2, 2017 Share Posted June 2, 2017 Hi Have a quite simple filter expression in my Delete SOP that keeps giving me an error. Unable to evaluate expression, syntax error length($VX,$VY,$VZ) > 0.1 Anyone know why? Quote Link to comment Share on other sites More sharing options...
haggi Posted June 2, 2017 Share Posted June 2, 2017 Strange, just did a copy and paste and everything works fine here. Quote Link to comment Share on other sites More sharing options...
art3mis Posted June 2, 2017 Author Share Posted June 2, 2017 (edited) Did the same with Group Expression SOP, got syntax error, unexpected ',' expecting ) followed by Unable to load shader /obj/geo/groupexpression1/attribvop1 ??? If I instead use one of the drop down expressions ie 30%chance rand(@elemnum) <0.3 works like a charm! argghh Could it be something as simple as I'm missing any velocity attributes on my cached .sim? Edited June 2, 2017 by art3mis Quote Link to comment Share on other sites More sharing options...
Doudini Posted June 2, 2017 Share Posted June 2, 2017 maybe this works: length(@v.x, @v.y, @v.z) > 0.1 ? Quote Link to comment Share on other sites More sharing options...
art3mis Posted June 2, 2017 Author Share Posted June 2, 2017 Thanks, will try. Wish vex errors were more descriptive & accurate. 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.