Naveen Sai Nikhil Balam

NaveenSaiNikhilBalam

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Connecting nearest points using nearpoints function June 11, 2020, 1:53 a.m.

Hi,
int npts = nearpoints(0, @p, ch(“Length”), 8);
foreach(int pt; npts)
{
if(pt >= @ptnum && pt != @ptnum){
addprim(npts, “polyline”, @ptnum, pt);
}
}

Above is the vex code I am using to connect points.But it is working only once. And I am trying to achive the connection as shown below.

Any help will be great.

Thank you.