Import .dxf with Grassopper

Hey!

I want to do somthing pretty simple:

  1. Import a lot of .dxf files
  2. do some operations
  3. export them with a name

part 2 & 3 I can already manage. But regarding 1.: I only know how to import .3dm files, but I havent found a solution of how to import .dxf files…

Already tried to google a bit… TT Toolbox e.g., does only have a export component

Best wishes, Rudi

Hi Rudi,

My solution to importing DXF files is to use write an insertion macro that is triggered from within Grasshopper, then reference the resulting blocks by name. I use a vb component to wrap up creating the macro, running the insertion commands, and referencing the resulting blocks.

However, if you aren’t comfortable with text based code you can achieve similar results with Human to get folder contents, a format component to build the macro string, LunchBox to send the macro to the Rhino command line, and Elefront to reference the blocks.

Best of luck!
RTS