Showcase Fridays
21st April 2025

Bulk Import DWGs

The other day, I got annoyed at a project. I had to import 30 DWGs into Rhino because I needed them to create the model. They gave me reference lines and my script was running based on the geometry in those files.

Wouldn't have been a problem if I had to do it once, but the project kept changing and we were getting 30 different files every 2 weeks or so. The worst part is having to manually drag the files into Rhino and then putting things on separate layers.

So, I wrote a script that does that for me. It looks through a folder path, finds all the DWGs and imports it into Rhino. Then it re-layers each DWG into it's own layer.

Don't worry about copying the code, you'll get the component itself below

So, you may not ever need to do this but even if it's just bringing in 2 DWGs, I have found this component to be really useful.

Give it a Go

You’ll find the component and a short write-up here:

Bulk Import Dwgs
Scripository, a library of comprehensive resources on computational tools.

Happy scripting,
Braden

P.S. If you want to request a workflow breakdown or a specific kind of script, reply to this email and let me know. I'm always collecting ideas for future ones.