Export only one Layer as DXF from Multiple Standalone Files

Hello Dear Rhino Community,

I’m facing a challenge with about 80 DXF files from a graphic designer. In each file (DXF), when opened in Rhino, there are multiple layers. However, I am only interested in one specific layer, which I need to export again as a DXF (it’s used to cut an outer diameter from plywood).

Is there a workaround so I don’t have to manually open each file, select the curve, and export it?

Thanks for reading, and best regards in advance.

Leo

Yes, you can import only one layer from multiple DXF files at the same time. All the geometries from each DXF file will be imported in a separate branch.


Import_DXF_Layer.gh (5.1 KB)

The script in this post can be used to export to *.dxf