elenvou Posted June 28, 2018 Share Posted June 28, 2018 Hello there!! I want to select all the primitives that have a specific attribute - @P = 0 - and assign a specific color to them. How can I do this in VEX or with nodes? cheers!! Quote Link to comment Share on other sites More sharing options...
kiryha Posted June 28, 2018 Share Posted June 28, 2018 (edited) P=Create a grid, drop Attribute Wrangle, set Attribute Wrangle mode to primitives: @Cd = 0; if (@P.x > 0){ @Cd = 1; } Here is we select primitives which have @P.x grater than 0. In your case, it would be @P = 0, but you would not see the changes on a flat grid that's why I modify initial task a bit. Take a look at a VEX basics tutorial. Maybe it would be interesting for you. Edited June 28, 2018 by kiryha 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.