×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

cannot delete layers

cannot delete layers

cannot delete layers

(OP)
I have tried to delete layers from a drawing. some will delete fine and others give error message " cannot delete the following layer types.....layer 0 and defpoint...current layer....x-ref dependant layer...layers containing objects....I do not think any of these conditions are tru, but they still will not delete??????any ideas???

RE: cannot delete layers

Assuming that you're trying to delete a layer that you've created (either directly or as a part of your office standards) and not one of the cases directly mentioned (layer 0, defpoints, current, xref, etc)...  Odds are that you've got a block defined somewhere in the drawing that contains an object on one of those layers.  This can happen a lot when you do copyclips, the block names stick around even if they're exploded and can often contain lots of stuff that you've already deleted.

RE: cannot delete layers

"laydel" from the Express Tools

ADT 2004
ACAD 2002

RE: cannot delete layers

Purge the file (type purge on the command line).  This will give you the ability to remove from your file everything that is not being used, including:  blocks, dimension styles, layers, linetypes, & text styles.  This should get rid of everything that is offending you.

RE: cannot delete layers

I think I was having the same problem as you at one point.  I belive I fixed this issue by going to the Options/Open and save window and clicking off the Show Proxy Information Dialog Box.

RE: cannot delete layers

If you still have this problem, i suggest that you copy all the entities from your file to another file. Then purge the file.

RE: cannot delete layers

When I am faced with a situation like this I do the following:

erase > all > r (for remove) > select what you want to remain in the dwg > enter

Sometimes I'll find empty attributes leftover from someone elses sloppy cad work. To do this type attdisp > ON and erase any you see floating in nowhere land.

This procedures almost always work for me. I have never (that I recall) resorted to copying and pasting or otherwise blocking out my drawing into a blank drawing in order to alleviate the burden of having extra unused layers in a dwg.

RE: cannot delete layers

Ironically I was faced with a dwg like this after making my last post. I was informed that one thing that may fix it is to wblock out any 'unused' blocks > open the block.dwg(s) > purge it > reinsert into original dwg and redefine > remove and purge. I did this and it did partly fix the issue. I was able to remove a handful of the layers, but still some layers remained. I couldn't figure out why so then I was faced with blocking out the drawing. In this case it wasn't necessary as it was not a true working drawing, but an old .dwt that somehow got jacked up. At any rate here are a few other links you may (or may not) find useful...

http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&;id=2872414&linkID=2475323
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&;id=2872632&linkID=2475874
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&;id=2878350&linkID=2475323
http://usa.autodesk.com/adsk/servlet/ps/item?siteID=123112&;id=2878563&linkID=2475323

RE: cannot delete layers

To expand on EXXIT's comments, I use "laydel" also. However, after typing in "laydel", it will prompt you to "Select object on layer to delete or [Name]:" Enter in "n". A window will open to select the layers you want to delete. You can make multiple selections. Make sure that the layer(s) you are trying to delete are not current or locked or frozen. Also make sure you have "expressmenu" loaded.

RE: cannot delete layers

Aside from the Def point and the "0" which can not be deleted, you should be able to delete all other layers if there are object in that layer.  Even if you have a point that may not be visible in anyone of those layers, you will not be able to delete that layer until that point is found and erased.  In the case of a point,you can easily find it by changing its shape and size.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources