Explode all blocks in selected

Hi,

Looking for a way to explode all blocks, including nested blocks, in a selection. I want to end up with solid body objects only in the end. Rhino 7 Python.

Eric

I would guess the easiest way is to script rs.Command(_ExplodeBlock _AllBlocks)