Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

How to Change the A$C******** Auto Generated Name from using PASTE AS BLOCK (CTRL + SHIFT + V) command

gdmgonzaga
Explorer

How to Change the A$C******** Auto Generated Name from using PASTE AS BLOCK (CTRL + SHIFT + V) command

gdmgonzaga
Explorer
Explorer

Is there a way to change the naming of blocks from A$C******** and assign it to your preference?

I have tried using the RENAME command, but it would take me a lot of time to rename each blocks in my drawing.

 

20240404120428.jpg

0 Likes
Reply
Accepted solutions (1)
587 Views
4 Replies
Replies (4)

paullimapa
Mentor
Mentor

No way to assign it to a different naming convention. To avoid it just don't use that feature or always explode it afterwards. If you want to use your own Block names then use the WBlock or Block commands to create the Block & the Insert command to bring the Block into the drawing instead of CTRL+C & CTRL+SHIFT+V


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos

vinodkl
Mentor
Mentor

Hello @gdmgonzaga 

 

You can rename the block with ease with lisp. Please find the link to download the lisp: https://lee-mac.com/copyblock.html 

From the above link download the .lsp file. Next drag and drop the downloaded .lsp file into AutoCAD. Type in the command "RB" and select the block which you want to rename and enter the new name for the block 🙂

--------------------------------------------------------------------------------------------------------------------------
ವಿನೋದ್ ಕೆ ಎಲ್( System Design Engineer)
Likes is much appreciated if the information I have shared is helpful to you and/or others.

Please mark "Accept as Solution" if my reply resolves the issue or answers your question, to help others in the community.
--------------------------------------------------------------------------------------------------------------------------

Kent1Cooper
Consultant
Consultant
Accepted solution

There's no need to use PasteBlock getting AutoCAD's wacky Block name, and then RENAME the Block after it's in.  Use the attached PasteBlockWithName.lsp routine.  It UNDEFINES and MAKES A NEW DEFINITION OF the PasteBlock command, which forces you to give the Block a meaningful name in the process of pasting it in.  It checks that the name you give it is not already used in the drawing, and won't permit you to give it nothing.  It works whether you use the PasteBlock command name or Ctrl+Shift+V.

 

For those Blocks already in the drawing with wacky names, use RenameBlock.lsp, with its RB command, which lets you give a selected Block a new name without needing to know what its current name is to feed into a RENAME command.

 

[There are links to the Cadalyst CAD Tips website to download these in several Topics in this Forum, but currently downloads are not working there, though they tell me they're working on fixing that.]

Kent Cooper, AIA

TomBeauford
Collaborator
Collaborator

I have a dropdown in my Ribbon for Paste that includes a macro for Paste as Group that are often easier to work with than blocks:

^C^C_pasteblock;\(setq LstBlk(vla-get-Name (vlax-ename->vla-object (entlast))));_explode;_last;_-group;_create;*;;_previous;;(command "-purge" "B" LstBlk "N")
(setq LstBlk nil)

 

64bit AutoCAD Map & Civil 3D 2023
Architecture Engineering & Construction Collection
2023
Windows 10 Dell i7-12850HX 2.1 Ghz 12GB NVIDIA RTX A3000 12GB Graphics Adapter
0 Likes