TheSwamp

CAD Forums => CAD General => Topic started by: hardwired on November 18, 2009, 10:47:26 AM

Title: $AUDIT_BAD_BLOCK
Post by: hardwired on November 18, 2009, 10:47:26 AM
Hi,

With one of our drawings, we had to recover it after a crash and after an audit, it obviously creted the standard Audit layer and block..

Now I've managed to get rid of the layer but the block is still in the drawing. It cannot be purged out as its in use somewhere and when I try to INSERT any block, the drawing freezes so I can't even insert it and maybe explode and purge etc..

This means that we cannot insert any blocks (either internal or external) into the drawing using the normal INSERT command. I know we have Design Centre, but its so sluggish..

Does anyone know how i can get rid of this block?

I even used Design Centre to drags all the layouts into a new drawing, copy in all modelspace entities into the new drawing and save it - thats how i managed to get rid of the Audit Layer, but obviously the Audit Block still remains..

Any ideas?
Title: Re: $AUDIT_BAD_BLOCK
Post by: mjfarrell on November 18, 2009, 10:53:29 AM
you could try sending me the file...and I'll see if running a MAP query against the data will strip out the bad block reference....

or you might try using a partial open...and look at smaller chunks of the file, and wblock out the good stuff bit by bit, and then reassemble the drawing form those exported blocks...

or there is a LISP routine somewhere that might remove it for you...
Title: Re: $AUDIT_BAD_BLOCK
Post by: mjfarrell on November 18, 2009, 10:54:26 AM
or you can try this method:


Issue


Your drawing contains a block named $AUDIT_BAD_BLOCK_RECORD and you want to delete it.

Solution


To purge $AUDIT_BAD_BLOCK_RECORD blocks from your drawing

1.On the command line, enter -PURGE
Note: Be sure to include the hyphen.
2.When prompted, enter B
3.When prompted to "Enter names to purge," press ENTER.
4.When prompted to "Verify each name to be purged?" enter N.
Title: Re: $AUDIT_BAD_BLOCK
Post by: TimSpangler on November 18, 2009, 11:07:17 AM
We get corrupt drawings every once in a while.  We wblock the entire dwg out into a new std dwg.  This will usually fix the problem without using 3rd party apps.
Title: Re: $AUDIT_BAD_BLOCK
Post by: mjfarrell on November 18, 2009, 11:10:23 AM
FYI

MAP is not a third party application...it is publish by autodesk....and is OFTEN quite handy at stripping out bad data through the query process.
Title: Re: $AUDIT_BAD_BLOCK
Post by: sinc on November 18, 2009, 11:13:47 AM
Possibly the block is inserted somewhere into your drawing as an "invisible block"...?

You can get rid of these by going into modelspace and each layout and typing "ERASE ALL", then holding down SHIFT and selecting everything you can see, in order to remove all visible items from the selection set.  Then let the ERASE command finish, erasing everything that is left in the selection set (e.g., erase everything you can't see).

Once you do this, you MIGHT be able to purge the block.
Title: Re: $AUDIT_BAD_BLOCK
Post by: TimSpangler on November 18, 2009, 11:14:31 AM
FYI

MAP is not a third party application...

I never said it was........

Quote from: mjfarrell
or there is a LISP routine somewhere that might remove it for you...

I was referring to this comment.