Jump to content

partition groups by name attribute vex


isah_voodoo

Recommended Posts

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...