isah_voodoo Posted August 19, 2020 Share Posted August 19, 2020 Hello, I am trying to figure out how to create groups using vex based of a name attribute. I'm trying to find out if there is a much simpler way rather than doing a bunch of if statements I know there is a partition sop which does the trick but I want to know how I can do this in vex I've tried something simple like this: setpointgroup(0, @name, @ptnum, 1); However, this does not partition my groups properly into there own groups based of there unique name. I know i am missing something here. I will attach my scene file for anyone that wants to take a look Thank you partition_by_name_vex.hipnc Quote Link to comment Share on other sites More sharing options...
Noobini Posted August 19, 2020 Share Posted August 19, 2020 (edited) almost !!! setpointgroup(0, @name, @ptnum, 1, "set"); hey wait a minute....your orig file works !!! what am I missing ? that's the real question!! Edited August 19, 2020 by Noobini Quote Link to comment Share on other sites More sharing options...
isah_voodoo Posted August 20, 2020 Author Share Posted August 20, 2020 @Noobini haha. wow... i need sleep. Thanks Nobbini. Quote Link to comment Share on other sites More sharing options...
animatrix Posted August 20, 2020 Share Posted August 20, 2020 It works here. "set" is the default behaviour. 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.