
What I'm going to do now is just select all of those and delete them. So you can see there, just lines on the zero layer. So there's our block, and then we press Enter to confirm after selection, and you'll see that that is then exploded back to its original objects.

We click on explode, come into the drawing area, and select a block. So there's the explode command on the modify panel, like so. We're going to utilize the explode command. Now what we're going to do, we're going to tidy up our drawing a little bit. Now the explode command in AutoCAD is extremely useful if you want to explode a block reference back to it's original objects, perhaps edit those objects, and create a new block. That would be nice because I wouldn't have to explode theīlock at all, but I can't figure out how to do that yet.- We're staying in the ReusingContent.dwg file and you can see the blocks that we've already placed in the drawing, and, more importantly, created within the drawing as well. My other option here is to reference the ACADText object's properties inside Now I simply want to put the blockīack together. I have successfully obtained the property values of the individual Possible? The block consisted of an ACADText object and an ACADLWPolyline Wrote in message am trying to re-assemble a block that I have exploded. The block definition should still be in the drawing, provides you have not That would be nice because I wouldn't have to explode the block at all, but I can't figure out how to do that yet. My other option here is to reference the ACADText object's properties inside the block object. If ExplodedObjects(i).ObjectName = "AcDbText" ThenīOMPieceMarkRef = ExplodedObjects(i).TextStringīOMPieceMarkID = ExplodedObjects(i).Hyperlinks.Item(0).URL Set SelectedBlockReference = SelectionSet(0)ĮxplodedObjects = SelectedBlockReference.Explode

Set SelectionSet = ThisDrawing.ActiveSelectionSet My code looks like the following:ĭim SelectedBlockReference As AcadBlockReference Now I simply want to put the block back together. I have successfully obtained the property values of the individual objects that formerly made up the block. Is this possible? The block consisted of an ACADText object and an ACADLWPolyline object. I am trying to re-assemble a block that I have exploded.
