Wish : "Delete consecutive" made more useful

The “Delete consecutive” component would be much more useful if it gave the number of items removed for EACH distinct item, and not the total number of removed items.

1 Like

Something I wished very often too, so often I built my own components for these helper outputs.

Even better would be to give the original index of the deleted items?

The same holds for many other components, where an output of modified / deleted / matched / … indices would be so good, e.g. ‘PullPoint’ - giving the indices of the geometry the point was pulled to, and maybe even the index of the second closest geometry etc…

KR Robert

2 Likes

Or you can use sets :

Hi Regee, I know I can do otherwise.
My post pertains to the “Delete consecutive” component.

Still stuck with this.
Deletion of consecutive elements isn’t the same as creating a set at all !
231113_IMG_Delete consecutive

I need to filter a list in parallel with the one in which I weed out consecutive elements.
A simple index output would allow this, and make the component actually useful, and not just pretty.

I agree, it can be very useful to count consecutive similar values, for example to change a one-to-one data match to a one-to-many match (e.g. for Trim with Regions).