How to use for each subgraph in dataflow from geometry collection

Hello, I’m working on chaos destruction by dataflow and I want to fracture each bone by their own boundbox instead of using boundingbox from all of them, as the picture shows:

It works well, but I have many bones (at least 20) and I think I need a loop to help me. However, the loop seems not effect:

What’s wrong in it? Could anyone help me? Thank you very much

Hi

Have you changed your subgraph to be a foreach type of subgraph by right-clicking on it and selecting the option like in the screenshot below ?

Also looking at your screenshot,
the GetAllBoundBoxes will run but only run for each of the selected bone but only return the points for the last one

If you want to fracture each individual bone separately you need to fracture inside the foreach subgraph
Something like that :

For each subgraph : “FractureSelection”

Use in the main graph
(I fracture first the mesh to make sure I have enough level1 bones to use)

MakeIntArrayFromList details look like that :

I hope this helps