Using the Elefront “Deconstruct Block” component, I get multiple trees giving me valuable info on the block instances contained in my model.
Let’s call “level 1” blocks those who contain only geometry, and “level 2” blocks those who contain “Level” 1 " blocks.
Voluntarily, our block structures are never more complex than this (and it’s already tough to manage).
I hit a problem when I want to remap info from “Level 1” blocks to the “Level 2” bloc that contain s them.
For example, I’d like to have a list of the Base points of all the “Level 1” blocks contained in a certain “Level 2” block.
I know I could get this by using “Deconstruct Block” a second time on the content of my “Level 2 blocks”, but I plan to feed truckloads of blocks in my definition, and this operation is quite intense.
So since the info is already there, I’d like to re-use it… but how ?
Matching sub-block info to main block.gh (21.5 KB)