BATPURGE

GstarCAD 2025 → Innovative Features

This new function allows to batch purge the excess objects such as blocks, layers, line type, dimension style or text style on several DWG files. The BATPURGE command doesn't need to open files. It executes the command of purge directly, which makes it run with very high efficiency. Four new types of purge have been added, including: Regapps, Zero geometry, Empty text objects and orphaned data.

After the command is started, a dialog box will be displayed as shown in the picture below.

In this dialog box you can add, select, unselect, clear and start purging objects within DWG files.

Dialog Box Options

Add Files

You can add one or more batch files from the selected path.

Add Folder

You can add DWG files from the selected folder.

Select All

You can select all the DWG file lists at once.

Select None

You can unselect all the DWG files at once.

Delete

You can delete selected objects in the file list.

Clear

You can clean all the DWG file lists at once.

Regapps

Deletes the registered application (REGAPP data).

Zero geometry

Deletes geometry of zero length, including lines, arcs, circles, and polylines.

Empty text objects

Deletes mtext and text objects that contain only spaces without any text.

Orphaned data

Performs a drawing scan and removes obsolete DGN linestyle data when you open the Purge dialog box.

Start Purge

Starts purging the selected DWG file list and it shows a status bar during the execution. After purging, GstarCAD will generate a notepad file where you can see the purge details.

Log

After the purge operation is finished, you can log in to the created notepad file and see the batch purge detail record.


Original help · © Gstarsoft Co., Ltd.