Rhino Script - Batch Import DWG

Hi All,

I am trying to chase down a script for batch importing a folder repository of DWG files, where on importing each file it will assign all the geometry in that file to a layer named the same as the DWG file being imported.

Any assistance greatly appreciated!

Cheers,
Michael

BatchImportDWGToLayers.py (2.3 KB)

Many thanks @Kalpit_3d & @Helvetosaur that is exactly what I was after.

Cheers,
Michael