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

How to delete empty layers?

22 REPLIES 22
SOLVED
Reply
Message 1 of 23
Anonymous
20166 Views, 22 Replies

How to delete empty layers?

Anonymous
Not applicable

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

0 Likes

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

22 REPLIES 22
Message 2 of 23
gotphish001
in reply to: Anonymous

gotphish001
Advisor
Advisor
Accepted solution

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

0 Likes

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 23
GabrielMagalhães
in reply to: Anonymous

GabrielMagalhães
Participant
Participant

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. 

0 Likes

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 23
Moshe-A
in reply to: Anonymous

Moshe-A
Mentor
Mentor

@Anonymous hi,

 

how about LAYDEL command?

 

moshe

 

0 Likes

@Anonymous hi,

 

how about LAYDEL command?

 

moshe

 

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

cadffm
Consultant
Consultant

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

0 Likes

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

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

Moshe-A
Mentor
Mentor

@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.

 

  

 

0 Likes

@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 23
GrantsPirate
in reply to: Anonymous

GrantsPirate
Mentor
Mentor

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.

0 Likes

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 23
cadffm
in reply to: Moshe-A

cadffm
Consultant
Consultant

@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

@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

Message 9 of 23
jayhar
in reply to: Anonymous

jayhar
Advisor
Advisor

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.
0 Likes

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 23
Anonymous
in reply to: GrantsPirate

Anonymous
Not applicable

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.

0 Likes

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 23
pendean
in reply to: Anonymous

pendean
Community Legend
Community Legend
@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
0 Likes

@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 23
ВeekeeCZ
in reply to: Anonymous

ВeekeeCZ
Consultant
Consultant

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

 

0 Likes

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 23
cadffm
in reply to: Anonymous

cadffm
Consultant
Consultant

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

0 Likes

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

Message 14 of 23
zach__young
in reply to: gotphish001

zach__young
Contributor
Contributor

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 

0 Likes

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 23
pendean
in reply to: zach__young

pendean
Community Legend
Community Legend

@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 🙂

0 Likes


@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 23
zach__young
in reply to: pendean

zach__young
Contributor
Contributor

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

0 Likes

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

Message 17 of 23
Kent1Cooper
in reply to: zach__young

Kent1Cooper
Consultant
Consultant

@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
0 Likes


@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 23
zach__young
in reply to: Anonymous

zach__young
Contributor
Contributor

How?

0 Likes

How?

Message 19 of 23
Kent1Cooper
in reply to: zach__young

Kent1Cooper
Consultant
Consultant

@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
0 Likes


@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 23
zach__young
in reply to: Kent1Cooper

zach__young
Contributor
Contributor

Wow! Thank you! Very helpful!

0 Likes

Wow! Thank you! Very helpful!

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report