By using Designcenter
Registered forum members do not see this ad.
Hi all,
I need a lisp (any way) to replace a block in many autocad files with an other block quickly. Is there anyone who can help me on that.
Thanks in advance.
By using Designcenter
Sorry for my English.


I did a quick search and found two ways to insert a block with the option to overwrite (INSERT or DesignCenter), but neither can be done in a LISP (INSERT doesn't have that option when using -INSERT and DesignCenter can't be done from the command line).
Anyone else have an idea? I'm sure there must be some way to update the block reference using Visual LISP.
Doing it on multiple files is easy, and there are many solutions already present in this forum.
Though, I suppose it would help to clarify, are you updating a block, that is to say, inserting the same one and over-writing it with an updated version, or are you replacing it with a new one entirely? If the latter, that's easier.
type BLOCKREPLACE
Z
Voila! The ZF-1.


Just found this:
http://www.ellenfinkelstein.com/auto...h_another.html
Looks like there is a way to do it with -INSERT after all, though -BLOCKREPLACE should work just fine as well. ^^
~* And, in the end, the love you take *~
~* Is equal to the love you make *~
- The Beatles -
GrPlayground / Text Find/Replace / Batch Engine / Tower Defense
"That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson
Dave
Many thanx to all you forummates![]()
Registered forum members do not see this ad.
You're very welcome. We are all here to share our wisdom
Z
Voila! The ZF-1.
Bookmarks