Valent Posted July 4, 2018 Share Posted July 4, 2018 Hi, I'm trying to delete primitives by 'Attribute_Wrangle' based on their attribute value, and the result is not the one I expect, what am I doing wrong? int a; for(a=0; a<@primnum; a++) { if(@c1<0.3) removeprim(1,a,1); } in my opinion, this should delete every primitive in the mesh whose value of attribute "c1" is less than 0.3. Instead, it deletes some random primitives (well not random but unrelated ones) p.s: I know that I can do it easily by 'Blast'-node) Quote Link to comment Share on other sites More sharing options...
Valent Posted January 7, 2019 Author Share Posted January 7, 2019 stoopid me if(@c1<0.3) { removeprim(0, @primnum, 1); } 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.