pxBomber Posted May 23, 2016 Share Posted May 23, 2016 Hi, I have a basic question. I want to create a group containing every second edge from already existing edge group. Is it possible? Thanks. Quote Link to comment Share on other sites More sharing options...
woodenduck Posted May 23, 2016 Share Posted May 23, 2016 I think so... If you run an Attribute Wrangle over the just the primitives in the first group with something like this in it, you should add every other primitive in the group to a new group. if(@primnum % 2 == 0) { setattrib(0, "primgroup", "secondEdgeGroup", @primnum, -1, 1, "set"); } 2ndEdgeGroup.hip Quote Link to comment Share on other sites More sharing options...
f1480187 Posted May 23, 2016 Share Posted May 23, 2016 (edited) Switch to range mode on Group SOP. group_every_second_edge.hipnc Edited May 23, 2016 by f1480187 Quote Link to comment Share on other sites More sharing options...
pxBomber Posted May 24, 2016 Author Share Posted May 24, 2016 brilliant, thank you guys!! 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.