woodsman
1/7/2020 - 12:20 AM

Delete Multiple Points Based on ID

Use in a POP Wrangle or in a Point Wrangle post-sim to delete any points that have an id listed in the array.

// Delete multiple points from list based on id attribute
float lister[] = {36, 27, 5, 32};

if (find(lister, i@id) >= 0) {
  removepoint(0, @ptnum);
}