Jump to content

Can't Find Layer Hidden In Unknown Block


Recommended Posts

I received a drawing that contains a layer in the manager box. But when I attempted to Quick Select that layer, the result returns as "0" and this same layer cannot be deleted, since the message tells me that layers with objects cannot be deleted. I thawed all layers and still get "0" and the layer won't delete. This should mean that the layer is hidden inside a block. This drawing has several hundreds of blocks! Is there an application within AutoCAD that will reveal to me which block that layer is in?

Link to comment
Share on other sites

So you purged all the blocks 1st ? That reduces the  total number of blocks left need to do a couple of times.

 

If its a CIV3D dwg it can have styles in it with layers and purge will not remove unused. PURGESTYLES but thats a CIV3D command.

 

Did you google "get entities in block autocad lisp" lots of answers.

Link to comment
Share on other sites

My first strategy would be to freeze all other layers. With any luck, you'll see the bogus item immediately. When you select it, you'll see the block it belongs to.

 

My next strategy would be to change the color of that layer to some bright color that will stand out. If there's an object in a block on that layer, and its color isn't overridden, you should be able to spot it quickly.

 

Beyond that, I'd have to think that it's an End Definition object. When you create a block, there's a phantom object on the current layer that gets tacked onto the block definition. You can't see it, you can't select it, you'd never know it was there except in this case. LAYDEL should get rid of it.

 

 

Link to comment
Share on other sites

As I generally prefer block entities to be on layer 0 anyway I'd simply merge that layer with layer 0 and be done with it.

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