Discussion:
rename anonymous blocks
(too old to reply)
allanyz
2005-03-31 06:20:22 UTC
Permalink
Has anyone got a lisp routine that can globally rename anonymous blocks. So that you can explode them or change there color

The article on AutoCAD knowledge base was not very helpful, as it did not work and only worked on one block at a time (if it ever did work)

Allan
http://www.draftsperson.net/
Anne Brown
2005-03-31 12:34:55 UTC
Permalink
allanyz -

In addition to any replies you might receive or have already
received, you may find more information or responses by posting
future lisp/customization related questions in the following
discussion group:

Web browser:
http://discussion.autodesk.com/forum.jspa?forumID=130
Newsreader:
news://discussion.autodesk.com/autodesk.autocad.customization
---
Anne Brown
Discussion Groups Administrator
Autodesk, Inc.
Has anyone got a lisp routine that can globally rename anonymous blocks. (snip)
Tony Tanzillo
2005-03-31 13:44:27 UTC
Permalink
AFAIK, you can explode anonymous blocks.

There is no way to directly make an anonymous
block a named block. You would need to make
another block, and then change any existing
insertions of the anonmous block, to reference
the new named block (express tools blockreplace
will do that).
--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005
http://www.acadxtabs.com
Post by allanyz
Has anyone got a lisp routine that can globally rename anonymous blocks. So that you can explode them or change there
color
The article on AutoCAD knowledge base was not very helpful, as it did not work and only worked on one block at a time
(if it ever did work)
Allan
http://www.draftsperson.net/
allanyz
2005-03-31 22:12:14 UTC
Permalink
I know ! i want a lisp routine that does it automatically !

Allan
http://www.draftsperson.net/
madcadd
2005-03-31 23:28:09 UTC
Permalink
Hi Tony,

You can use the rename command to rename an anonymous block, but that does not accomplish the global rename the OP wants.

For the most part, I don't want the same "bottom left" insert point of anonymous blocks. But I can explode and re-block with a name and insert point of my choosing with very minimal effort. ie:

1- explode anonymous block;
2- b; (block command, enter)
3- name of my choice
- pick insert point of my choice
- select objects
- p;; (previous, enter enter)
4- check covert to block
5- check OK
Done

To the OP, this isn't global, but is pretty easy without ever having to select anything with a window or otherwise.
Continue reading on narkive:
Loading...