robierzo Posted February 16, 2016 Posted February 16, 2016 Hi. I have several DXF files in a folder and i need to unite them all in one dwg file in absolute coordinates. How can I do it? Can you do from AutoCAD or need a lisp? Thank you I have Autocad 2012. merge dxf.rar Quote
dbroada Posted February 16, 2016 Posted February 16, 2016 I have done this in the past but can't remember how. I think I decided that it was easiest to just save the dxf files as dwg and then insert them. Quote
rkmcswain Posted February 16, 2016 Posted February 16, 2016 If you just want a ready made solution, this tool can do it. Quote
ReMark Posted February 16, 2016 Posted February 16, 2016 Found this solution at the AutoDesk Discussion Groups. Open the first dxf file in AutoCAD and than use INSERT to include the other dxf files step by step. Or you can write a lisp file with lines in this matter: (command "_insert" "C:\\dwg\\sheet1.dxf" "0,0" "1" "1" "0") (command "_insert" "C:\\dwg\\sheet2.dxf" "0,0" "1" "1" "0") -- bob.at CAD & GIS Services, Graz, Austria Quote
dbroada Posted February 16, 2016 Posted February 16, 2016 Or you can write a lisp file with lines in this matter: (command "_insert" "C:\\dwg\\sheet1.dxf" "0,0" "1" "1" "0") (command "_insert" "C:\\dwg\\sheet2.dxf" "0,0" "1" "1" "0") I remember now, that's how I used to do it. Quote
Lee Mac Posted February 16, 2016 Posted February 16, 2016 The following may also help: Insert DXFs with Spacing Vector Use a spacing vector of 0,0 to insert all at the origin. Quote
robierzo Posted February 16, 2016 Author Posted February 16, 2016 Thank you very much to all. Finally I used the routine of Lee Mac. It's just what I need. Thank you. You are great teachers.:notworthy: Quote
Lee Mac Posted February 16, 2016 Posted February 16, 2016 You're very welcome - I'm glad it helped! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.