fatboYYY Posted September 13, 2015 Share Posted September 13, 2015 Hey guys, I'm learning VEX right now and I'm trying to create a node to add all points (of one primitive) into a group for each primitive. You have 10 Trails i.e. and for each trail you want to create a pointgroup for the points of the primitive. I'm nearly finished, although I'm getting some errors that I do not understand. If you have any suggestions how to create it on a more elegant way let me know. I would appreciate it, if you could also tell me why I am getting these errors. Thanks, fatboY trailgroups.hipnc Quote Link to comment Share on other sites More sharing options...
mestela Posted September 13, 2015 Share Posted September 13, 2015 one way using a point vop and a partition sop: trailgroups_v01.hipnc Quote Link to comment Share on other sites More sharing options...
anim Posted September 14, 2015 Share Posted September 14, 2015 if you want fully VEX then Point Wrangle: string groupname = sprintf("prim_%d", @primnum); setpointgroup(0, groupname, @ptnum, 1); 3 Quote Link to comment Share on other sites More sharing options...
mestela Posted September 14, 2015 Share Posted September 14, 2015 There's always a shorter way. 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.