TheSwamp

Code Red => .NET => Topic started by: cannorth on February 05, 2013, 06:08:16 PM

Title: Deleting a block table record
Post by: cannorth on February 05, 2013, 06:08:16 PM
Hello,

  How do you delete a block table record in VB.Net ObjectArx?

Thanks,

cannorth
Title: Re: Deleting a block table record
Post by: TheMaster on February 05, 2013, 06:14:59 PM
Hello,

  How do you delete a block table record in VB.Net ObjectArx?

Thanks,

cannorth

You have to use the Purge() method of the containing Database to find out if the BlockTableRecord is referenced (if it is, you can't delete it). and if it is not referenced, then you can just call it's Erase() method.