points to groups

   2114   4   0
User Avatar
Member
19 posts
Joined: Oct. 2012
Offline
Hi
I have some lines here
i want to turn them to point sepreatly
and group each point in a group with name pointing to the point number
and then i merge all the same names group in one group
is that possible or just am high
thanks
User Avatar
Member
7741 posts
Joined: Sept. 2011
Online
Anything is possible, if you believe it.
User Avatar
Member
19 posts
Joined: Oct. 2012
Offline
Ok show me the path
Make me believe
Edited by shrifazmy - March 29, 2017 19:34:48
User Avatar
Member
8532 posts
Joined: July 2007
Offline
not sure if I understand your question
are you trying to group all first points of all lines
all second
all third, etc?

if so just do this in a point wrangle:
string groupname = "group" + itoa(vertexprimindex(0, @vtxnum));
setpointgroup(0, groupname, @ptnum, 1);

and but it's much more efficient to keep it as an attrib:
s@name = "group" + itoa(vertexprimindex(0, @vtxnum));
Edited by tamte - March 29, 2017 16:12:22
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
19 posts
Joined: Oct. 2012
Offline
Ya that what I was looking for
Thank You Tamte
Now am relay High
  • Quick Links