Tips for batch rename blocks in GstarCAD

When faced with tons of drawings and data, we all want to have some kind of useful tool that can deal with them altogether and that’s why people use batch commands and utilities a lot.

When we copy and paste drawings containing blocks with the same names as the ones in the current drawings, the pasted blocks will be replaced by the blocks in the current drawings and therefore the pasted drawings will be different. The best way to solve this problem is to let these blocks have the same definitions. But this is hard to do and there will still be blocks with same names but different definitions. In this case, we need to use Rename.

If there are too many blocks with the same names, it would be troublesome to find the ones with different definitions, we might as well rename them all. The following paragraphs are to introduce some ways to rename blocks.

Basic operations in renaming blocks

The basic operations in renaming a block is simple, just enter REN and press Enter to open the dialog box, and select the category that you want to rename on the left, select the items that you want to modify on the right of the dialog box, and then enter a new name, as shown in the following picture.

The styles and properties that need to be renamed on the left are likely to make drawings different after Copy and Paste. Renaming one block or style is simple but batch rename is another thing and the key lies in how to batch select and define styles or blocks, OK, let me take renaming blocks as an example.

How to batch select and rename blocks?

1.Tips for multiple selections

When selecting block names, we could directly select them in the list or enter names in the input box. When selecting in the list, we can use multiple selections with SHIFT and CTRL keys: press SHIFT to select several continuous blocks in the list and press CTRL to select more blocks in the list — which is also the tips in WINDOWS. After this, the block name shows ”Multiple”, as shown in the following picture.

Another way is to use wildcard characters * and ? to select: * stands for multiple characters while ? stands for one character. As shown in the following picture.

* and ? could also be put in the middle or before according to the properties of the block names.

2. Batch rename with new names

Wildcard characters * and ? are also needed in order to replace the old names in bulk.

If you select several of them from the list and the block name shows “Multiple”, which means the old block names have nothing in common. In this case, you can only rename the blocks by entering * instead of the old block names, but you can insert letters before or after *. The following takes the example of inserting A + before *.

If we need to enter wildcard characters in the Old Name box to select multiple items, then the wildcard characters entered in the Old Name box need to correspond to the ones in the Rename To box while the other characters can be replaced by new characters, for example, use cha* instead of chair* ,as shown in the following picture.

We could use several wildcard characters for the name, for example, we could use H?* to select all the blocks whose first character is H and the third character is A, but how to use this method depends on the properties of the blocks and the way you want to rename them.

The above are some tips for batch rename blocks, if you have better ways, please feel free to comment and share your experience with us, we’d love to hear from you.

In daily drawing work, I don’t recommend renaming all the blocks before Copy and Paste, because blocks in the drawing will multiply after several Copy and Paste. If we can control the block names, then we should try to avoid blocks with the same names but different definitions.

Join our discord community!

Connect with CAD experts, share technical insights, and get real-time support from the global community.

Join Discord Server

Share & Get a $10 Amazon Gift Card

Share your honest GstarCAD feedback and get a chance to win a $10 Amazon gift card.

Write a Review

Discover more from Gstarsoft's Blog

Subscribe to get the latest posts sent to your email.

GstarCAD Blog

www.gstarcad.net

Related Posts

Top 5 Essential GstarCAD Shortcuts for Designers

In the process of drawing and editing with GstarCAD, mastering basic functions and shortcuts can significantly reduce redundant operations while improving drawing precision and efficiency. The five features—Ctrl+3 (Tool Palettes),…

Common Methods for Inserting Images in GstarCAD

In professional CAD workflows, integrating raster images—such as site maps, reference sketches, or interior renders—is essential for visualization and project coordination. However, choosing the wrong insertion method can lead to…

Leave a Reply

Don't Miss out

GstarCAD 2027: Unleashing Performance and Innovation for Modern Engineering

  • June 11, 2026
GstarCAD 2027: Unleashing Performance and Innovation for Modern Engineering

The Intersection of Art and Efficiency: A49’s Digital Evolution with GstarCAD

  • June 4, 2026
The Intersection of Art and Efficiency: A49’s Digital Evolution with GstarCAD

Top 5 Essential GstarCAD Shortcuts for Designers

  • May 29, 2026
Top 5 Essential GstarCAD Shortcuts for Designers

Common Methods for Inserting Images in GstarCAD

  • May 22, 2026
Common Methods for Inserting Images in GstarCAD

Building the Future of Steel: How Tarkon Optimizes Structural Design with GstarCAD

  • May 7, 2026
Building the Future of Steel: How Tarkon Optimizes Structural Design with GstarCAD

GstarCAD 2026: Is It Time to Look Beyond the AutoCAD Legacy?

  • April 21, 2026
GstarCAD 2026: Is It Time to Look Beyond the AutoCAD Legacy?

Discover more from Gstarsoft's Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading

Discover more from Gstarsoft's Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading