Insert all dwgs from a directory

The Real JD

Usenet Archive
Joined
Jul 28, 2003
Messages
183
Reaction score
0
I would like to insert a batch of blocks (seperate dwg files) into a drawing. Design Center only lets me pick one at a time. All blocks inserted at 0,0... Is there a way to batch insert blocks?
 
thanks Jason! I'll give it a shot!

Jason Piercey said:
maybe this will get you started....

(foreach x (vl-directory-files "Your\\Path" "*.dwg")
(command "-insert" x <the rest of your stuff here>)
)
 

Latest threads

Back
Top