[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 a Pasted Block
Tip# 3751 By Kent Cooper On 17-Oct-2011
5
Rated By 1 users Downloaded : 210
Categories : Object Properties, Edit Blocks
Software type : AutoCAD 2012
Rename File To : RenameBlock.lsp
With this routine, you don't need to know the block's current name in order to rename it.

Editor's Note: This tip was updated in April 2012 with a revised LISP file. The only change is that the revised RenameBlock.lsp now reports the current name of the selected Block when asking for a new one.

Frequent tipster Kent Cooper's latest contribution allows you to rename a block in AutoCAD without knowing the original name of the block. Why would you want to do that? Well, if you have ever pasted in geometry from another drawing as a block, AutoCAD assigns it a block name, but it is always something hard to remember, like A$CFG5D32S. If you have a few of these in your drawing, they become difficult to manage. Sure, you can rename them using the traditional method, but you have to know the current name before invoking the Rename command. To use this routine, load the LISP file, then type in the command RB. Now you can pick a block insertion on the screen and give it a new name without having to list its current name first.

 

Average Rating:
5


User comments
Comment by Anderson,Jim
Posted on 2012-02-23 15:50:16
Fantastic idea! I wish AutoCAD would provide this as standard in the Properties pallete. Thanks for sharing.


Log In