Jump to content

Unable to delete layers


Bigthunker

Recommended Posts

Hey folks,

 

I have a couple of layers in a template i would like to remove, but every time i attempt to delete them a warning box is displayed that says

 

"The selected layer was not deleted.

the following layers cannot be deleted:

- Layer 0 and Defpoints

- The current layer

- Layers containing objects

- X-ref dependant layers"

 

The frustrating thing is that the layers are in a template and have never been associated to any objects of any kind, they are not current, not x-ref dependant!

 

Any ideasb :?:?:?

Link to comment
Share on other sites

The layers you want to delete probably contain objects that you are unaware of therefore you cannot delete them. The layers could be referenced in a block or more than one block.

Link to comment
Share on other sites

A little research on the problem finds you may be in luck. You have access to a command that was previously found only in full AutoCAD's Express Tools. The command is called Layer Delete (LAYDEL). Switch to layer "0" and run the command. It will delete a layer and anything on it. I hope you don't have anything on either of the two layers you really wanted to keep because you'll lose it.

Link to comment
Share on other sites

There is one other possibility. Use the Layer Merge command (LAYMRG) to merge anything on the layer you want to delete to another layer (layer "0"?). Then delete the layer.

Link to comment
Share on other sites

Cheers ReMark,

 

I need to have a fiddle with this command as its not letting me input the layer name directly into the command line; I might have to create some obejects to associate the layers to. Ill let you know how it goes mate.

Link to comment
Share on other sites

can i join the discussion...

 

what if command LAYWALK ( Layerwalk )... then when you select a layer name if the PURGE is active,

it means that Layer name is not assigned in the drawing so you can purge that Layer ( or delete it ). the same thing

you do to other layers when the PURGE tab is active you can delete those Layers.

When you select a layer name and you cannot purge, it means that Layer name is assigned...

 

i hope this will help but please correct me if i'm wrong..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...