Hey guys, I've done a quick search but I can't seem to find answers so I'll try here
I have a point wrangle node inside a solver node, and I'm adding points into groups over time. However when I add a point into a group and then query that groups count, I get the incorrect number returned
VEX:
int new_point = addpoint(0, v@P);
setpointgroup(0, “placers”, new_point, 1, “set”);
printf(“New point (id %g) created into placers group\n”, new_point);
int point_count = npointsgroup(0, “placers”);
printf(“Points in placers group: %g\n”, point_count);
Console:
New point (id 1) created into placers group
Point in placers group: 0
It's really boggled my mind I can't figure it out.
-Anyone seen this before?
-Does the group not get updated until we pass down to the next node?
-Is there a way to force refresh on the group inside VEX?
Found 1 posts.
Search results Show results as topic list.
Technical Discussion » Group count not updating after adding point
- anon_user_94415117
- 1 posts
- Offline
-
- Quick Links