I have extra layers in my drawing. I wrote an autolisp program that changes all entities in a drawing to layer 0. I verified the program by checking the entities. There are xref'd blocks in the drawing. I changed entities in those drawings to layer 0. The xref'd blocks do not contain the layers I am trying to delete. Everything is on layer 0, BUT, I still have unused layers in the drawing I can't delete. I can delete one of the layers if I delete the drawing views created from the model (which was not on layer 0 originally). This is not practical because I need to run this program on approximately 1000 drawings. Still, other unused layers remain. No, these are not layers created by Mechanical Desktop when views are created in paper space. These are layers created manually by an overzealous drafter. Could there be something buried in the model at the sketch, extrusion or feature level that I haven't reached? If so, how do I access it? Thanks, Dan