anon_user_94415117

anon_user_94415117

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

My Tutorials

obj-image Intermediate
Alien circuitry panel structure

Recent Forum Posts

Group count not updating after adding point Sept. 9, 2017, 12:31 p.m.

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?