How to rename named objects in AutoCAD

Using RENAME command you can rename named objects in AutoCAD like block, layer, and linetypes. This command can be used to rename individual objects as well as multiple objects, let’s see how it can be done for individual objects first.

Renaming individual objects:

Type REN on the command line and press enter, Rename window with the list of all named objects will pop up which looks like this.

rename named object using autocad

From left panel click on object type that you want to rename. For the current example, I will select Blocks. Right panel will populate the list of all blocks present in the drawing, click on block name which you want to rename.

You will see current name of the block in Old Name field present below items panel, type in a new name in Rename To field and click on Rename To button. Your block will be renamed to the new name, once you are done renaming objects click on OK button to save the changes and close the rename window.

Renaming multiple objects:

The rename command is not limited to renaming named objects individually, you can even rename multiple objects with rename command using wildcard characters.

For explaining this, I will assume that we have a drawing with six layers as shown below, and we need to rename all layers starting with ABC to XYZ.

ABC-DE-1

ABC-DE-2

ABC-FG-1

ABC-FG-2

PQR-DE-1

PQR-FG-1

Type REN and press enter to start rename command then select layers from Named Objects panel. Now type ABC* in the Old Name field of Rename window, you will notice that all layers with first three characters as ABC will be highlighted in Items panel. Type XYZ* in the Rename To field of the window.

This syntax will rename all layers with first three characters from ABC to XYZ keeping remaining characters in the name unchanged. Click on Rename To button to apply changes and all selected layers will be renamed to XYZ prefix.

RENAME MULTIPLE OBJECTS IN AUTOCAD

You can also rename characters from the middle of the layer name.

For example, if we want to change the name of Layers with 5th and 6th characters from FG to LM then we need to type ???-FG* in the old name field and ???-LM* in Rename To field.

In this syntax first three question marks indicate that first three characters could be anything then the fourth character should be a dash. On 5th and 6th place it should be FG and then * indicates that remaining characters could be anything again.

In a similar way, you can also rename multiple blocks and other named objects using RENAME command.

Do you have questions related to this tip? Let me know in comments below.

Learn AutoCAD from basics to a professional level with our self-paced online courses.

View Details
View Details
2017-11-30T16:26:43+00:00

About the Author:

I am a mechanical engineer and I have worked with Design, Manufacturing and Training industries but now SourceCAD is my full-time work and I use it to train students all over the world. I also train corporate clients and help them develop the skill set of their workforce. I am Autodesk AutoCAD Certified Professional and an Autodesk expert elite member. I am a regular contributor of AUGI World magazine and apart from SourceCAD I also develop AutoCAD video courses for Pluralsight and other E-Learning businesses.

2 Comments

  1. Premkumar December 19, 2017 at 1:31 pm - Reply

    How to rename the words coming at the end of a block or layer?? For eg. If I have a multiple block that ends with “elevation” that I want to chenge to “elevation-01”
    Thanks

    • Jaiprakash Pandey December 24, 2017 at 10:18 pm - Reply

      There is no option in AutoCAD which can do this but you can make a script for doing this.

Leave A Comment