Message 1 of 1
Delete Referenced Block

Not applicable
09-13-2007
04:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In my code, I delete a block from Model.Space and issue an Application.Update just so it disappears and to clean it up. Probably don't need to, but whatever.
Later I actually run through the Blocks Collection and delete the block from there. On some drawings (yeah, only on some), an error occurs with an error number indicating the block is referenced.
When I use the Purge command, it is there as purgable, and can be purged. Any ideas why it is referenced in the code?
Later I actually run through the Blocks Collection and delete the block from there. On some drawings (yeah, only on some), an error occurs with an error number indicating the block is referenced.
When I use the Purge command, it is there as purgable, and can be purged. Any ideas why it is referenced in the code?