removepoint and disconnect points in a wrangle?

   1881   1   1
User Avatar
Member
408 posts
Joined: June 2015
Offline
I'm deleting point on some polylines in a wrangle using a condition.

if(@attribute < chf(“threshhold”)){
removepoint(0, @ptnum);
}

My issue is that i'd like the poly lines that used to connect between those deleted point to be deleted, so the points get disconnected. Currently it keeps a closed polyline at all times. See teh attached pic, i crossed the lines i want to be gone.

Thanks in advance.

A.

Attachments:
3.JPG (154.1 KB)

User Avatar
Member
480 posts
Joined: July 2005
Offline
Hi,

you can use the clip node and remove the new points based on the distance to the old points for example.

Attachments:
clip_remove_pts.hipnc (105.7 KB)

  • Quick Links