Jump to content

VEX: Number of Groups?


galagast

Recommended Posts

Is there an equivalent to the expression pointgrouplist in VEX?

 

I want to create points based on the number of point groups, then center those to the corresponding group.

 

My current setup involves an attributeCreate, which creates the "number of group" attribute.

Then I pipe it in to an Attribute Wrangle, where I wrote code that parses through each group, get average center positions, then generate points.

 

So far it works.. I was just curious if it's possible to write it all in one wrangle sop.

point_per_group_center.rar

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...