How do I import multiple DXF files into one drawing at the same time.

How do I import multiple DXF files into one drawing at the same time.

Anonymous
Not applicable
4,656 Views
3 Replies
Message 1 of 4

How do I import multiple DXF files into one drawing at the same time.

Anonymous
Not applicable

Good day, all.

 

I looked around and couldn't find exactly what I am looking for.. I do a lot of manual nesting for the company that I work for. We do not use any auto nesting software. I am looking for a way to open all my DXF files in one DWG at the same time, so I can nest them all. As is, I am currently opening each file individually and copying and then pasting it into my "master drawing" where I create a good nest for our cnc plasma table. Any suggestions would greatly be appreciated.

 

Thanks,

Seth

0 Likes
4,657 Views
3 Replies
Replies (3)
Message 2 of 4

pendean
Community Legend
Community Legend
How would you want the program to guess at placement of many files dropping in all at once?

0 Likes
Message 3 of 4

Sea-Haven
Mentor
Mentor

You can insert a dxf, I would use (getvar 'extmax) (getvar 'extmin) this will give the corners of the current dwg, get the right X the bottom Y as the insertion point.

 

You will need a script of some form that reads the dxf file names then runs a lisp to actually insert.

 

; save as insertdxf.lsp
(defun insdxf (fname / top bot pt) (setq top (getvar 'extmax)) (setq bot (getvar 'extmin)) (setq pt (list (car top)(cadr bot)) (command "-insert" fname pt 1 1 0) )

script

(load "insertdxf")
(insdxf "c:\\myfolder 1\\myjobs\\dwg1.dxf") (insdxf "c:\\myfolder 1\\myjobs\\dwg2.dxf") (insdxf "c:\\myfolder 1\\myjobs\\dwg3.dxf")

Use say Lee-mac srciptwriter to create the script.

 

0 Likes
Message 4 of 4

maratovich
Advisor
Advisor

Use it : AutoViewport  

 

https://youtu.be/rMXZ6hb7DTM 

---------------------------------------------------------------------
Software development
Automatic creation layouts and viewport. Batch printing drawings from model.
www.kdmsoft.net
0 Likes