Explode nested block with recursion

I have nested block structure and I want it to return individual block instance with recursion or any other suitable method.
Explode nested block with recursion visual studio return individual block instances

Hello - ExplodeBlock should do what you need.


No, by using Explode block we are getting rhino objects, I want to explode blocks till only last block will present

You can try these out…

The first lets you select blocks to un-nest, the second will do it for all selectable blocks found. It should leave any base-level (un-nested) blocks alone.

RemoveSelBlockNesting.py (1.2 KB)
RemoveAllBlockNesting.py (1.1 KB)

This might also be handy just in case:
SelNestedBlocks.py (894 Bytes)