How do I purge layers that don’t want to be purged

Want to clean up your drawings from extra or garbage layers? 

The obvious way to purge layers is to use the PURGE command but sometimes it’s not enough. Purge might need to be run several times. Make sure to select purge nested items. Notice that in the purge dialog box you can find items you cannot purge.

  • the active or current layer
  • layers with objects
  • layer 0
  • layer Defpoints (It can be purged if you remove all dimensions)
  • layers in XREFs (xref-dependent layers

Here there are some tips to purge unwanted layers:

– Layers can exist nested in blocks. They can be used by empty text strings (QTEXTMODE can be used to show these) or lines without length or even viewports that have the layer frozen.

– LAYMRG (Layer Merge) or LAYDEL (Layer Delete) might be able to help you either merge the layer to for example layer 0 or if you don’t care what’s on the layer delete it. 
LAYWALK is also useful to see what is in each layer and can purge unreferenced layers. 
LAYTRANS can also purge layers. In the Layer Translator, right-click in the Translate From list. Click Purge Layers.

– To use the filters in the Properties palette (QSelect) can also work but you might need to explode everything several things first.

  • Another way to generally purge a drawing is to Wblock the entire drawing to a new drawing or use WBLOCK and * for the whole drawing or you can Wblock selected objects.

– You can also try to isolate the problem by deleting 50% of the drawing, try to purge and then keep repeating it until nothing is left. If the layer is still there it might be used by some kind of object that is not purged using the plain purge command.

– DXF can also help. Save as DXF or use DXFOUT command and open in a text editor and search for the layer to see where it is used.


Discover more from Gstarsoft's Blog

Subscribe to get the latest posts sent to your email.

  • GstarCAD Blog

    www.gstarcad.net

    Related Posts

    Interior Design Software: From Floor Plans to AI-Powered Visualization

    Interior design software has become an essential part of modern design workflows. It is no longer used only to create floor plans or produce attractive images. Today, designers need tools…

    Parametric Constraints in Dynamic Blocks: What’s New in GstarCAD 2027

    In the field of architecture, construction, and mechanical design, changes are a constant. Whether driven by updated safety guidelines, client revisions, or evolving project requirements, designers are regularly asked to…

    Leave a Reply

    Don't Miss out

    Interior Design Software: From Floor Plans to AI-Powered Visualization

    • August 25, 2026
    Interior Design Software: From Floor Plans to AI-Powered Visualization

    The Question Will Not Be “CAD or BIM,” but How They Work as One

    • August 21, 2026
    The Question Will Not Be “CAD or BIM,” but How They Work as One

    How GstarRender Turns Your Ideas into Stunning, Presentation-Ready Design Visuals

    • August 18, 2026
    How GstarRender Turns Your Ideas into Stunning, Presentation-Ready Design Visuals

    Do You Really Need Everything in AutoCAD? Why GstarCAD Is Enough for Many CAD Workflows

    • August 13, 2026
    Do You Really Need Everything in AutoCAD? Why GstarCAD Is Enough for Many CAD Workflows

    Best Free CAD Software Options in 2026

    • August 5, 2026
    Best Free CAD Software Options in 2026

    Beyond 2D: How CAD Is Evolving into the Foundation of Intelligent Engineering

    • August 4, 2026
    Beyond 2D: How CAD Is Evolving into the Foundation of Intelligent Engineering

    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