Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Block references itself, but dosent exist....huh?

307 views
Skip to first unread message

Tony T

unread,
Oct 8, 1996, 3:00:00 AM10/8/96
to

Something strange going on with blocks; I have a block called b2d2d.
I tried to insert it into a drawing, and was told the block already
exisited, would i like to redifine it; I chose yes, and got an error
about it refernecing itself. So, I closed the file, opened it, purged,
and found no unreferenced blocks. hmm. Tried to insert the block again.
Same thing. Here is the entire process:

(from the text window)
Command:
Command:
Command: _open Regenerating drawing.

Command: purge

Purge unused Blocks/Dimstyles/LAyers/LTypes/Styles/All: b

No unreferenced blocks found.

Command: ddinsert


Command:
Command:
Command: _qsave
Command: mv
MVIEW
ON/OFF/Hideplot/Fit/2/3/4/Restore/<First Point>:
Other corner: Regenerating drawing.

Command: ms
MSPACE
Command: ddinsert
Block B2D2D references itself
*Invalid*
*Cancel*--

Can anybody make sense of this? If there are no blocks in the drawing,
why do I get an error everytime I try to insert this block? Other blocks
work fine, but of course, this is the block I need the most.

Tony


----------------------------------------------
Never laugh at live dragons.
J.R.R. Tolkien, The Hobbit
----------------------------------------------

zoya

unread,
Oct 9, 1996, 3:00:00 AM10/9/96
to
Hi, Tony.

Never laugh at Autocad either.

If Purge command says no unreferenced blocks found, so your b2d2d
is right there, in some other block as a nested part. It may look
differently, but it uses the same name. You see, the name is what you have
to get rid of.
I think, the easiest way is to issue DDRENAME command (do it BEFORE
you try to insert your b2d2d), find the offeding name under BLOCKS
and rename it to any name you want.
You will have no more problems.

Zoya
(zo...@mechoshade.com)

Jay Garnett

unread,
Oct 9, 1996, 3:00:00 AM10/9/96
to

Tony T wrote:
>
> Something strange going on with blocks; I have a block called b2d2d.
> I tried to insert it into a drawing, and was told the block already
> exisited, would i like to redifine it; I chose yes, and got an error
> about it refernecing itself. So, I closed the file, opened it, purged,
> and found no unreferenced blocks. hmm. Tried to insert the block again.
> Same thing.

I had the same problem with a drawing when I first switched to R13C3. I
had a block that I couldn't insert or redefine, and a layer that I
couldn't purge. I spent two or three hours goofing around with that
drawing attempting to diagnose the problem. I audited, recovered,
WBLOCKed the entire drawing, examined the DXF file of the drawing, and
even saved the drawing under a new name, erased and purged everything
(with the exception of the layer and the block). Ultimately, I started a
new drawing and *inserted the old drawing, then ran purge. Finally the
layer and the block purged, along with a few anonymous blocks. I never
was able to determine the exact cause of the problem however.
If you can come up with an explanation, let me know.
--
E-MAIL jgar...@enteract.com
HOMEPAGE http://www.enteract.com/~jgarnett/lispfactory.htm

Douglas Wilson

unread,
Oct 9, 1996, 3:00:00 AM10/9/96
to

Tony T wrote:
>
> Something strange going on with blocks; I have a block called b2d2d.
> I tried to insert it into a drawing, and was told the block already
> exisited, would i like to redifine it; I chose yes, and got an error
> about it refernecing itself. So, I closed the file, opened it, purged,
> and found no unreferenced blocks. hmm. Tried to insert the block again.
(snip)

> Tony
>
> ----------------------------------------------
> Never laugh at live dragons.
> J.R.R. Tolkien, The Hobbit
> ----------------------------------------------
Could there be a bug or limitation where the block won't purge because
the block
is being referenced (by itself)?
Sometimes i've exported files to DXF and edited the ascii. Thats one
sure way to purge something.
--
Sincerly,
Doug Wilson(do...@amgen.com)
*** The opinions expressed here are my own and not neccessarily ***
*** anyone elses ****
*** Disclaimer: These are the opinions of the poster not Amgen Inc.***

Nikhil Kaila

unread,
Oct 10, 1996, 3:00:00 AM10/10/96
to

wm...@execpc.com (Tony T) wrote:

>Something strange going on with blocks; I have a block called b2d2d.
>I tried to insert it into a drawing, and was told the block already
>exisited, would i like to redifine it; I chose yes, and got an error
>about it refernecing itself. So, I closed the file, opened it, purged,
>and found no unreferenced blocks. hmm. Tried to insert the block again.

>Command: purge

>Purge unused Blocks/Dimstyles/LAyers/LTypes/Styles/All: b

>No unreferenced blocks found.

>Command: ddinsert

>Tony

>----------------------------------------------
>Never laugh at live dragons.
>J.R.R. Tolkien, The Hobbit
>----------------------------------------------


You are getting this reply `Block xxx references itself'; *Invalid*;*Cancel*
because you are tring to INSERT a drawing file containing a Block which with the
same name as that of the drawing it contains.
So for not getting this problem in future try to make a Block, which you want to
use in other drawings too,with a different name than a drawing in which you are
making that Block.
But to fix your present problem as you need the Block Very badly, RENAME the File
you want to Insert using UTILITIES to a other name and then try to INSERT it with
that name or RENAME the BLOCK using the RENAME command. You will not
face that problem.


Nikhil Kaila
//Autodesk Product Support on the Internet//

Marc Lopez

unread,
Oct 16, 1996, 3:00:00 AM10/16/96
to

Tony T wrote:
> Command: ms
> MSPACE
> Command: ddinsert
> Block B2D2D references itself
> *Invalid*
> *Cancel*--
>
> Can anybody make sense of this? If there are no blocks in the drawing,
> why do I get an error everytime I try to insert this block? Other blocks
> work fine, but of course, this is the block I need the most.
>
> Tony

The only thing I can think of is you made a block of itself.

What I mean is you made a block called b2d2d from a block called b2d2d.

Try opening the drawing of the block and exploding its contents. Then,
try inserting into the drawing you want it in. If this still doesn't
work, then I don't know what else to do.

Good luck!


-Marc

Douglas Wilson

unread,
Oct 17, 1996, 3:00:00 AM10/17/96
to

Marc Lopez wrote:

> Try opening the drawing of the block and exploding its contents. Then,
> try inserting into the drawing you want it in. If this still doesn't
> work, then I don't know what else to do.
>
> Good luck!
>
> -Marc

Before I figured out there was a purge command, I used to export the
file to dxf ascii format, delete blocks or layers or whatever, then
import it back in. If I erased a layer which a block referenced, then
I'd get an error and go back and delete or edit the block. Or if you
search on the layer or block name, you could find what other layers or
blocks reference that layer or block. Don't know if this helps, but
it was at least interesting to do it this way.

Dennis McMichael

unread,
Oct 20, 1996, 3:00:00 AM10/20/96
to

Marc Lopez <ma...@flash.net> wrote:

>Tony T wrote:
>> Command: ms
>> MSPACE
>> Command: ddinsert
>> Block B2D2D references itself
>> *Invalid*
>> *Cancel*--
>>
>> Can anybody make sense of this? If there are no blocks in the drawing,
>> why do I get an error everytime I try to insert this block? Other blocks
>> work fine, but of course, this is the block I need the most.
>>
>> Tony


open your block dwg file
then these commands
explode
all
wblock
(getvar "dwgname")
answer yes
open drawing to insert block

can't block something then wblock it with the same name and select the
block as the entitiy.

l8r!


Terry Rawkins

unread,
Oct 22, 1996, 3:00:00 AM10/22/96
to

In article <3265BD...@flash.net> ma...@flash.net writes:
>Tony T wrote:
>> Command: ms
>> MSPACE
>> Command: ddinsert
>> Block B2D2D references itself
>> *Invalid*
>> *Cancel*--

RENAME B b2d2d fred

Then try again.

My aim is to please Terry A Rawkins
66 Gainsborough Bracknell
Email = sof...@SV.Span.com Berks UK RG12 7WL
Also at Ter...@Bracknell.ac.uk

William Lenz

unread,
Oct 25, 1996, 3:00:00 AM10/25/96
to ma...@flash.net

You may want to check that B2D2D.dwg the "world block" does not have
a copy of B2D2D block in the drawing purge it out if it does.

0 new messages