Delete almost same objects?

Hi,

I imported a large pdf drawing into Rhino and I have many what I think is duplicate objects in the file that I need to get rid of. I have tried the “SelDup” and “SelDupAll” command but didn’t find anything. It says in “details” that one is a “Closed polyline with 4 points.” and the other is a “Closed NURBS curve” so I tried “SelPolyline” but it selected all the objects and “SelCrv” same thing. Any suggestion on what to do is greately appreciated. Attached an image showing the details of my two “identical” objects and a small version of the Rhino file.

Delete duplicats.3dm (203.2 KB)

I used new command called Overlap in V9, check the performance

(I hid the overlapping content without deleting it)

Delete duplicats.3dm (185.0 KB)

The script below works in V8 and selects 78 “near-dup” curves at 0.001 tolerance. Tolerance can be set at the command line to find near dupes that are further out of tolerance.

SelNearDupCrvs.py (5.9 KB)

Thanks,still on V7, great to get some arguments for uppgrading.

Here is another similar script for selecting nearly identical surfaces, which I downloaded from another topic some time ago.

SelNearDupSrfsX.py (7.3 KB)

Tooltip: Select nearly duplicate objects
Command: _-RunPythonScript “Your file directory\SelNearDupSrfsX.py”

In my case, the full path looks like this:
_-RunPythonScript “D:\PROGRAMI\Rhinoceros 7\Добавки\Select nearly identical objects\SelNearDupSrfsX.py”

The script also runs in V7…