Remove duplicate PolyLine

How to clear Remove duplicat PolyLine .
I need to categorize groups.


cell (32.2 KB)

Can you upload your file?

cell (22.1 KB)

Good news: rather easy via code (C#).

Bad news: rather impossible the other way (if real-time results are required … plus various tricky override checks like filtering via consequtive polyline node dupes etc etc ).

This works in 2 modes (see above) and gets the unique Polylines (or Lines if any), their indices and the connectivity (i.e. what taken poly has clones). If the conn Tree has empty branches the branch index is the index of a polyline with no clones.

So if you want that thing, notify (but is 100% code).

1 Like