Regards Brendan O'Hare
Olaf wrote in article <35a00a83...@news.newsguy.com>...
> I tried to delete a couple of unused layers both with the PURGE
> command and from LAYER AND LINETYPE PROPERTIES but AutoCAD 14 wouldn't
> let me. They were neither 0 or DEFPOINT nor X-Ref dependent layers.
> The only explanation I can think about is that those layers still
> contain some object, but I can't see or erase them. The layers are not
> locked or frozen - checked in model space and in all vieports. I
> checked all block in the drawing to exclude possibility of nested
> block on different layer.
> What is wrong then? Please help.
> Olaf
>
There may be some invisible objects on the layer that prevent it from
being purged.
You can delete ALL objects including those invisible objects in layer
"somelayer" by this:
ERASE[Enter]
(ssget "x" ((8 . "somelayer")))[Enter]
[Enter]
--
Nobuhiro Haketa <nobu...@trialsoftware.com>
Trial Software Laboratories, Japan
Is the problem layer hidden in one or more paperspace viewports? You can
DXFOUT the file, then search the .dxf file for instances of the layer name,
to determine where it's used. If you don't care where it's used, but just
want to purge it, you can use my SuperPurge utility
http://www.manusoft.com/spurge.htm ). :)
--
Owen Wengerd
President, ManuSoft ==> http://www.manusoft.com
VP Americas, CADLock, Inc. ==> http://www.cadlock.com
Olaf (Olaf) wrote in message <35a0624f...@news.newsguy.com>...
Ian A. White wrote:
> On Sun, 05 Jul 1998 05:35:12 GMT, Olaf (Olaf) wrote:
>
> > I tried to delete a couple of unused layers both with the PURGE
> > command and from LAYER AND LINETYPE PROPERTIES but AutoCAD 14 wouldn't
> > let me. They were neither 0 or DEFPOINT nor X-Ref dependent layers.
> > The only explanation I can think about is that those layers still
> > contain some object, but I can't see or erase them. The layers are not
> > locked or frozen - checked in model space and in all vieports. I
> > checked all block in the drawing to exclude possibility of nested
> > block on different layer.
> > What is wrong then? Please help.
>
> You probably have a block definition which uses the layers. Do a
> Purge of Blocks and see if any can be purged. If they can't then the
> blocks themselves are referenced.
>
> --
>
> Regards,
>
> Ian A. White, CPEng
> WAI Engineering
> Sydney 2000
> Australia
>
> Ph: +61 418 203 229
> Fax: +61 2 9622 0450
>
> Junk e-mail will be returned, as is, to the sender's host system.
Olaf (Olaf) wrote in message <35a00a83...@news.newsguy.com>...
>I tried to delete a couple of unused layers both with the PURGE
>command and from LAYER AND LINETYPE PROPERTIES but AutoCAD 14 wouldn't
>let me. They were neither 0 or DEFPOINT nor X-Ref dependent layers.
>The only explanation I can think about is that those layers still
>contain some object, but I can't see or erase them. The layers are not
>locked or frozen - checked in model space and in all vieports. I
>checked all block in the drawing to exclude possibility of nested
>block on different layer.
>What is wrong then? Please help.
>Olaf
Michael
______________________________________________________________________
Michael Rounds, AIA Email: rou...@ar7.com
CADesign
Boulder, Colorado USA For true multitasking, try orienteering
On Sun, 05 Jul 1998 05:35:12 GMT, Olaf (Olaf) wrote:
Perhaps there are some 'zero length text strings' in the drawing. If
somebody have edited the text and deleted all the characters, the text
is still there, but you cannot see it. Try to turn QTEXT ON, and see
if there are some small rectangles in places you don't expect to see
any entities. Erase them....
Jan
Still not sorted in R14 eh? Sometimes the only solution to this
irritating problem is to WBLOCK the required elements to a new drawing.
This usually gets rid of the 'phantom' layers.
instead of PURGE you should use the following statement:
COMMAND: WBlock
Filename: <drawing file>
Blockname: *
Leave the drawing with QUIT (no savings) and open it again. If these layers
still remain, they are referenced by somewhat I don't know either.
Andreas
My guess is that extended data has been attached to a layer. Yes, it is
possible to do this. If the extended data refers to a layer, then as far as
AutoCAD is concerned, it is a used layer. Therefore, it is not possible to
purge it.
This may *not* be the solution, but it just goes to show you, that sometimes
it is next to impossible to eradicate some things in a drawing once they are
created.
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
R14.01
Bill:
FYI, the solution is my SuperPurge utility
Owen: its almost 700K!!! Yowza. What *doesn't* it do?
I've wblock'ed everything into another drawing or rename the layer to
something that you do use and/or copy another layer onto that and delete
the original layer.
I thought it might have been blocks defined on the layers but I can't
always find them.
I hope this helps.
Olaf wrote:
>
> I tried to delete a couple of unused layers both with the PURGE
> command and from LAYER AND LINETYPE PROPERTIES but AutoCAD 14 wouldn't
> let me. They were neither 0 or DEFPOINT nor X-Ref dependent layers.
> The only explanation I can think about is that those layers still
> contain some object, but I can't see or erase them. The layers are not
> locked or frozen - checked in model space and in all vieports. I
> checked all block in the drawing to exclude possibility of nested
> block on different layer.
> What is wrong then? Please help.
> Olaf
--
Regards,
Kyaw Soe | Ford Motor Company
Layout and Planning Engineer | GB-20/150, Arisdale Avenue
Global Paint Engineering | South Ockendon
Tel: 01708 858128 Fax: 01708 858981 | Essex RM15 5TJ
E-Mail: ks...@wams001.warley.ford.com | England
It only does one thing, but it does it *extremely* well. <g>
--
Owen Wengerd
President, ManuSoft ==> http://www.manusoft.com
VP Americas, CADLock, Inc. ==> http://www.cadlock.com
Bill Gilliss wrote in message <35A58E88...@iglou.com>...
>[...]
Olaf wrote:
> Thank you all for quick response. Unfortunately I didn't manage to get
> rid of the layers. I did PURGE All, exploded all blocks including
> nested ones to find the objects on layers I wanted to delete, I did
> all you guys suggested - still no result.
> Best Regards
> Olaf
Freeze all layers that have useful entities on them.
Then:
ERASE ALL
This command will find some things that you can not typically pick (e.g.
the paper space view port, the AVE_GLOBAL and AVE_RENDER blocks). You may
need to do this in paper space as well as model space. You still need to
unlock locked layers and purge after the erase command.
As always, save early, save often, do your experimenting on renamed/backup
files....you know the drill. This is VERY sharp tool, be careful!
Experts: Sorry if I am out of line, please tell me if this is reckless.
Bob Carlson
The first time that you insert a block in a drawing, AutoCAD adds the
definition of the block to the AutoCAD database. That definition includes
the name of the current layer when you inserted the block. Changing the
block to a new layer or erasing the block will NOT remove this layer name
from the block definition in AutoCAD's drawing database. That's why , the
first time you insert a new block or xref, it's good practice to stay on
layer 0 (which is in every AutoCAD drawing and can not be purged). THEN
change the block to layer you want. This is only true the first time a
block or xref is brought into a drawing. You can be on any layer you want
when you insert additional copies of the block or xref.
Another way to check out what is going on in your drawing is to DXFOUT the
drawing. Call up the DXF file with an ASCII text editor (like notepad or as
a text (nondocument) file in your favorite word processor) and search for the
offending layer name. Besides appearing in the layer table section of the
DXF file, it will also appear associated with some other entity in the
drawing. My guess is that it will appear in the block table section of the
DXF file, associated with some block name.
If that is the case, one way to the fix the problem is to start a new drawing
and insert the offending blocks on layer 0. Do this BEFORE you bring in the
problem drawing file. This will cause layer 0 to be associated with the block
definition, but not the actual blocks themselves. The layers associated with
the blocks will be in the ENTITIES table, where blocks are called INSERTS
(which have their own layer associations and refer to block definitions in the
BLOCK table).
Happy hunting.
Howard Partridge
Loo...@cupola.com