Lisp to insert multiple blocks in different positions

Lisp to insert multiple blocks in different positions

PdroLCS
Explorer Explorer
331 Views
2 Replies
Message 1 of 3

Lisp to insert multiple blocks in different positions

PdroLCS
Explorer
Explorer

I have several .dwg files and I want to insert them as blocks into a single file in different positions... XREF doesn't work in this case because I need to insert them simultaneosly, but they cannot be in the same position, overlapping.

I think it could be solved with a LISP routine but I'm not sure.

0 Likes
Accepted solutions (1)
332 Views
2 Replies
Replies (2)
Message 2 of 3

pendean
Community Legend
Community Legend
What would determine the exact coordinates for "different positions" so the LISP can function autonomously?

Or do you just need to use -INSERT command on repeat (MULTIPLE command does that) if those locations are not exact?

Or do you just need to CTRL+SHIFT+C one time then CTRL+SHIFT+V one time then COPY as many times as you need right now on your keyboard?
Message 3 of 3

Kent1Cooper
Consultant
Consultant
Accepted solution

See my BlockChart routines >here<.  They are made to Insert all files in a chosen directory so that they don't overlap.  So if you put your drawings into a folder together, it's all set to go.  Read the comments in the file and the linked topic.

 

I don't see why the same couldn't be done with XREF instead of INSERT, if you'd rather have them as Xrefs in the end.

Kent Cooper, AIA