Author Topic: Deleting a block table record  (Read 1815 times)

0 Members and 1 Guest are viewing this topic.

cannorth

  • Guest
Deleting a block table record
« on: February 05, 2013, 06:08:16 PM »
Hello,

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

Thanks,

cannorth

TheMaster

  • Guest
Re: Deleting a block table record
« Reply #1 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.