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

Deleting a block from AutoCAD 2000 drawing

1 view
Skip to first unread message

Alistair McIntosh

unread,
Nov 30, 2000, 3:00:00 AM11/30/00
to
greetings,

Need a wee bit of help....

I am writing a program in VB5 which interfaces with AutoCAD 2000. What
I would like to do is delete a named block from each layout, if the
block exists.

I can confirm that the block exists in the drawin, bu when I try to
delete it, I get an error message saying that the block is being
referenced.

Thanks for your help
Alistair

r6086c.vcf

Tony Tanzillo

unread,
Nov 30, 2000, 3:00:00 AM11/30/00
to
Alistair - You're confusing blocks and block references.

What you want to delete are the references (which is
what you create with the INSERT command). The block
itself, is what contains the definition (which you
create with the BLOCK command).

To find and remove all references to a block, you
must use a filtered selection set which filters
on the entity type (INSERT) and the block name.

Post a message if you need help with that.

--
Copyright ©2000 Tony Tanzillo all rights reserved
All use of the contents of this article is subject to the
terms and conditions at http://www.caddzone.com/license.htm

Check out DWGInfoTip at http://www.caddzone.com/dwginfo.htm

/*********************************************************/
/* Tony Tanzillo Design Automation Consulting */
/* Programming & Customization for AutoCAD & Compatibles */
/* ----------------------------------------------------- */
/* tony.t...@worldnet.att.net */
/* http://www.caddzone.com */
/*********************************************************/

0 new messages