Message 1 of 12
Explode gives error on Dynamic block with Visibility states
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I have a routine that explodes blocks (for fabrication) using the object.explode method, and it fails on a particular block which happens to be a dynamic block with visibility parameters.
Public Sub exptest() Dim ent As AcadEntity Dim exp For Each ent In ThisDrawing.ModelSpace exp = ent.Explode Next End Sub
It fails with the error "Invalid Key" and the number -2145386465
Can anyone suggest why this is happening, and how I can work around it?
(File with offending block is attached.)
many thanks ..
G
ACad, MEP, Revit, 3DS Max