Explode Anonymous Blocks

I’m looking for a way to use Dynamo to get all anonymous blocks in a drawing and explode them to the same layer that the anonymous block is on. The reason I need to do this is because I’ve got a C3D drawing with survey COGO points and figures that I use ExportC3DDrawing to get a flattened, “plain” ACAD objects drawing. But when ExportC3DDrawing is used it takes the COGO point symbol and creates anonymous blocks with names like *U042 or *U342. Those need to be exploded back down to their original blocks that were used to create the point symbol.

Here’s my graph so far. But the Object.Explode node throws an error that it expects an Object but gets a Block instead. How can I get this list of blocks to be exploded? It’s probably something simple I’m missing.

Hi @Cadguru42,

The List.FilterByBoolMask node is filtering the block definitions (which can’t be exploded) instead of the block references (which can). So you simply need to connect the output from All Objects of Type into the list input of List.FilterByBoolMask.

1 Like

The List.FilterByBoolMask node is filtering the block definitions (which can’t be exploded) instead of the block references (which can). So you simply need to connect the output from All Objects of Type into the list input of List.FilterByBoolMask .

Ah ha! That did the trick. I knew it’d be something simple that I was missing. Thanks!

1 Like