Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to delete empty layers?

20 REPLIES 20
SOLVED
Reply
Message 1 of 21
Anonymous
15291 Views, 20 Replies

How to delete empty layers?

I have plenty of layers in the drawing. Some of them are empty, with no object on it. How to identify and delete? I only want to keep the one with object on it. Thanks

20 REPLIES 20
Message 2 of 21
gotphish001
in reply to: Anonymous

Purge will delete layers that are empty.

 

https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2015/ENU/AutoC...



Nick DiPietro
Cad Manager/Monkey

Message 3 of 21
GabrielMagalhães
in reply to: Anonymous

Você pode usar o comando purge, segue o link 

 

http://help.autodesk.com/view/ACD/2015/PTB/?guid=GUID-58455B9B-E120-4EE6-9ADC-31FF37C61FE0

 

Espero que te ajude. 

Message 4 of 21
Moshe-A
in reply to: Anonymous

@Anonymous hi,

 

how about LAYDEL command?

 

moshe

 

Message 5 of 21
cadffm
in reply to: Moshe-A

So please, LAYDEL to recommend when it comes to the clean-up of "empty" layers is careless.
Empty and referenced layers are cleaned up with PURGE, otherwise the layers are still referenced.
If someone has no idea what the layer is referenced to, then you should maximally recommend LAYMRG.

 

@Anonymous

I think you know about PURGE command, so if you have a file where you think the Layer is referenced

but you can not purge them, upload this file, tell us the Layername and we will show why Acad can bot purge this Layer.

 

Sebastian

EESignature

Message 6 of 21
Moshe-A
in reply to: cadffm

@cadffm,

 

you asummes  @Anonymous who is rank here "9 collaborator" doesn't know of purge command?

to me if some one comes here with the request to delete a layer then i asumme he tried layer delete \ purge

and if he delete a layer by mistake then he could undo or take the bak file.

 

  

 

Message 7 of 21
GrantsPirate
in reply to: Anonymous

Open the layer manager (layerdlgmode must be set to 1), there is a column left of the name of the layer for Status.  If the symbol next to the layer is blank then that layer is not being used.  Pick the layer, right click, pick delete layer.  You can sort the status column by picking on Status, pick a layer, hold Shift, move down and pick another layer, all those layers are selected, right click and pick delete layer.

 

If layerdlgmode = 0 then the status icon will not work as described above but you can still right click and delete the layer.


GrantsPirate
Piping and Mech. Designer
EXPERT ELITE MEMBER
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.

Message 8 of 21
cadffm
in reply to: Moshe-A

@Moshe-A

he asked for "How to delete empty layers?", answer is purge!

And yes,  even at Rank 9 I would definitely give the TO all possible, after I have followed many threads in recent months.

I guess he's thinkeing the layer is empty, he don't wan't to delete informations, but the layer isn't unreferenced - thats the problem.


And the TO is not the only one who read this thread now and in feature and that was the reason for my answer,
I just wanted to make it clear that in case of uncertainty you should use LAYMRG and not LAYDEL to delete "empty" layers.

Laydel is the normal-User way to delete all objects on a layer (~ not empty layer~) and purge the layer themself to.

 

It's all good

Sebastian

EESignature

Message 9 of 21
jayhar
in reply to: Anonymous

Hi,

MERGE layer to "0"

 

Please Mark the Post or Posts as Solution(s) to help others find the answer quickly. If your issue persists,

Please give me a bit more detail on this issue so we can continue to work towards getting this solved.

Thanks You
Jayhar.M.J

 

Helpful Links: Prepare your computer for download |  Autodesk Virtual Agent | Clean Uninstall | Steps for Setting-Up Student Software

Please Subscribe YouTube Channel
https://www.youtube.com/channel/UCclj8v9vHQiFa8_DriuAk3w

Please Mark the Post or Posts as Solution(s) to help others find the answer quickly.
Message 10 of 21
Anonymous
in reply to: GrantsPirate

I have the same problem. Layers that have nothing showing up. Have tried purge, delete layer, etc. These layers remain. I have turned everything off except those layers, went thru each sheet, and nothing shows up.

Message 11 of 21
pendean
in reply to: Anonymous

@Anonymous use LAYMRG command on those unexpected but still in use layers to layer 0 (they are probably buried in the items you brought in so isolating them is impossible with what you've tried).

HTH
Message 12 of 21
ВeekeeCZ
in reply to: Anonymous

With a new-enough acad version, you can use the Find Non-Purgeable Items feature to investigate why you can't purge it.

 

Z9E3zK5E_0-1626291676088.png

 

Message 13 of 21
cadffm
in reply to: Anonymous

And if purge dialog doesn't display where the layer is used, for one example (one file, one layer), we can say why the layer is not purgable.

If you like to know it, share a sample dwg and tell us layers name.

 

Sebastian

EESignature

Message 14 of 21
zach__young
in reply to: gotphish001

Can always count on some esoteric lore to explain with why a user can't carry out the most basic of tasks in this bloated disaster of an application 

Message 15 of 21
pendean
in reply to: zach__young


@zach__young wrote:

Can always count on some esoteric lore to explain with why a user can't carry out the most basic of tasks in this bloated disaster of an application 


OR.. you could just your LAYMRG when LAYDEL does not work nd you don't have the time to dissect where and what is still on that uncooperative layer. Who's got time for an explanation anyway, that's overrated, we have tasks to complete 🙂

Message 16 of 21
zach__young
in reply to: pendean

This has to be done on a per-layer basis, does it not? Does this not suck?

Message 17 of 21
Kent1Cooper
in reply to: zach__young


@zach__young wrote:

This has to be done on a per-layer basis, does it not? Does this not suck?


No.  LAYDEL can remove more than one Layer in one running of the command, and LAYMRG can merge more than one Layer at a time into a single target Layer.

 

Please try suggested approaches before assuming they can't do what you want.

Kent Cooper, AIA
Message 18 of 21
zach__young
in reply to: Anonymous

How?

Message 19 of 21
Kent1Cooper
in reply to: zach__young


@zach__young wrote:

How?


What is that in reply to?  It's a good idea to always quote what you're replying to [pick on the fat double-quote character in the tool bar], preferably edited down to just the relevant part.

 

[And if it's supposed to be in reply to my Message 17, I suspect you used the "Reply to the Topic" slot at the bottom.  Things put there are always shown as being in reply to Message 1 and its author.  I've suggested to them to get rid of it.  Always use the REPLY button inside the individual Message you're replying to.]

 

And if it was meant to be in reply to me, read about the Name option in Help for both LAYDEL and LAYMRG.  Help should always be your first step.

Kent Cooper, AIA
Message 20 of 21
zach__young
in reply to: Kent1Cooper

Wow! Thank you! Very helpful!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


AutoCAD Beta