AutoCAD 2004/2005/2006

AutoCAD 2004/2005/2006

Reply
Valued Contributor
allanyz
Posts: 80
Registered: ‎03-14-2005
Message 1 of 5 (1,630 Views)

rename anonymous blocks

1630 Views, 4 Replies
03-30-2005 10:20 PM
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
Message 2 of 5 (1,630 Views)

Re: rename anonymous blocks

03-31-2005 04:34 AM in reply to: allanyz
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. allanyz wrote: > > Has anyone got a lisp routine that can globally rename anonymous blocks. (snip)
*Tony Tanzillo
Message 3 of 5 (1,630 Views)

Re: rename anonymous blocks

03-31-2005 05:44 AM in reply to: allanyz
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 "allanyz" wrote in message news:14155761.1112250052764.JavaMail.jive@jiveforum1.autodesk.com... > 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/
Valued Contributor
allanyz
Posts: 80
Registered: ‎03-14-2005
Message 4 of 5 (1,630 Views)

Re: rename anonymous blocks

03-31-2005 02:12 PM in reply to: allanyz
I know ! i want a lisp routine that does it automatically !

Allan
http://www.draftsperson.net/
Distinguished Contributor
madcadd
Posts: 2,768
Registered: ‎01-05-2004
Message 5 of 5 (1,630 Views)

Re: rename anonymous blocks

03-31-2005 03:28 PM in reply to: allanyz
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 conert 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.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.