[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Rename Every Block
Tip# 3624 By Dennis Jehan On 23-Apr-2011
1
Rated By 1 users Downloaded : 916
Categories : Edit Blocks
Software type : AutoCAD 2012
Rename File To : MassBlockRename.lsp
Add a prefix to every block in your drawing.

This tip from Dennis Jehan will let you add a prefix to every block in your current AutoCAD drawing. As Dennis explains, this tip solves problems when a large drawing is being inserted into another drawing that has blocks with the same name. Start by loading the LISP file, then type in the command MBR. Enter a prefix, and the routine will loop through all of the blocks to add the prefix to each one.   

 

Average Rating:
1


User comments
Comment by Hicks,Michelle
Posted on 2011-04-26 20:21:37
It adds a prefix to some blocks but not all of them. This message comes up. Invalid block name. ; error: Function cancelled Is there something i am doing wrong?
Comment by Jehan,Dennis
Posted on 2011-05-06 16:49:38
The program will ignore blocks with a * in front of the name. Let me have the name of the block that it stops on. Thanks Dennis (dennisjehan@netscape.net)