How to Delete Layers in AutoCAD (Works for Every Layer!)

How to Delete Layers in AutoCAD (Works for Every Layer!) AutoCAD Tips

Delete Layer in AutoCAD

Many times I faced the problem with deleting layers in AutoCAD. It is common to see a drawing full of hundreds of layers, especially if you are using someone else’s drawing for a base. At this point, it would be great to clean the drawing up and delete some of the unnecessary layers. Here comes the problem, some of the layers cannot be deleted. Sometimes, even when I’ve deleted everything from the drawing I still cannot delete them!
How to Delete Layers in AutoCAD (Works for Every Layer!) AutoCAD Tips

Cannot Delete Layers

There are several reasons why some layers cannot be deleted as AutoCAD message suggests. We will go through some of them here:

  1. Maybe not all the objects are Deleted. If a layer is Frozen or it is Turned Off the objects are not Deleted. Also if the layer is Locked you cannot delete the objects in it.Note: Try using Zoom > Extend to see if there are objects somewhere else in the drawing that you cannot see at first.
  2. Current Layer cannot be Deleted, so check if that is the case.
  3. As said in the image, layers 0 and Defpoints cannot be Deleted.
  4. Layers that are X-ref dependent, also cannot be deleted.

Solutions

When trying to delete layers the fastest way for me is to use the PURGE Command. After triggering it AutoCAD gives us a list of all the Objects and settings that can be deleted. Then I just Purge everything, until all parasites are gone. You can learn more about cleaning your drawings here: 5 Ways you can Improve your AutoCAD Performance

If there are stubborn layers that still cannot be deleted use this little trick – LAYDEL in combination with NAME.

  1. Type in command line LAYDEL
  2. AutoCAD will want you to Select object on layer to delete or [Name]: Type in N for Name
  3. A window will pop up with all the layers listed. Now just Choose the layer to be Deleted and hit OK.
    How to Delete Layers in AutoCAD (Works for Every Layer!) AutoCAD Tips

Note: Deleting a layer this way will delete all the Objects in this Layer, together with objects referencing it!
How to Delete Layers in AutoCAD (Works for Every Layer!) AutoCAD Tips

Other Suggestions

If you like the content take a look at our other AutoCAD related Topics!

And don’t forget to Subscribe and follow us on Social media!

 

Leave a Reply