Delete Referenced Block

Delete Referenced Block

Anonymous
Not applicable
260 Views
0 Replies
Message 1 of 1

Delete Referenced Block

Anonymous
Not applicable
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?
0 Likes
261 Views
0 Replies
Replies (0)