PDA

View Full Version : Renaming Blocks and Xrefs


BCrouse
2005-09-28, 04:27 PM
Does anyone have a lisp routine out there that you can pick on a block / Xref and change the name?

Here is an example.

You have block / xref ABCD in your drawing. You then want to rename that block to DCBA. So you would have to select the block / xref to be named and then you can renaming.

This my need 2 lisp routines. One for the Block renaming and one for the Xref renaming.


Thank you,

Brad

Glenndp
2005-09-28, 05:13 PM
Have you looked into the RENAME command. You can change a blocks name there. That is if your wanting to change all blocks of that name to the new name. For xrefs, why not use the xref manger to change their names?

BCrouse
2005-09-28, 05:19 PM
Have you looked into the RENAME command. You can change a blocks name there. That is if your wanting to change all blocks of that name to the new name. For xrefs, why not use the xref manger to change their names?
Thank you ! I totlaly forgot about that ability.

Wanderer
2005-09-28, 06:52 PM
Thank you ! I totlaly forgot about that ability.Thank you! Glad to know I wasn't the only one (http://mistressofthedorkness.blogspot.com/2005/09/rename-whats-that.html)who'd let that one slip past.