Select diagonal curves and closed, round curves?

I inherited a messy cad dwg plan file exported from vectorworks which, when imported to rhino, imports everything on one layer and all the hatching is exploded. It’s a messy top view architectural plan of a house with backyard. It has many 2d bushes with thousands of leaves as tiny oblong closed curves and broken line hatching all over the drawing representing the various floor finishes inside and out. It’s nearly impossible to select these things without selecting the important elements like doors/walls/windows.

Since much of the hatching that I want to get rid of is either rounded closed curves (not square/straight curves) or diagonal hatching, is it possible to select and isolate just those elements?

Hi Peter - here is a script that might help for some of this -

SelParallel.py (4.8 KB)

Use the Curve option to get parallel lines from a hatch for example.

To use the Python script use RunPythonScript, or a macro :

_-RunPythonScript "Full path to py file inside double-quotes"

@PeterB Here’s another thing you can try - this is more of a selection filter- you make the selection via window select or whatever and curves will be selected if they are smooth (no kinks) and closed, and no longer than the length you specify.
SelClosedSmoothCurves.py (1.9 KB)

-Pascal

Thank you! Ill try it in a bit! :slight_smile: