Baking geometry does not work

I am trying to make a setup where i can bake my geometry with a button. It makes the layer in Rhino but it does not contain any geometry. Does anyone know why this is happening?

basic iterative housing v3.3dm (68.2 KB)

basic iterative housing v3.gh (57.0 KB)

Any reason you’re not using native components to bake your geometry?

I wanted a component with a toggle (button) input. Is there a better alternative for this component?

Study this topic:

Content Cache Updated Guide - Grasshopper - McNeel Forum

Thanks! This was super helpful

The only thing that does not work yet is bake groups.

Yes i can see. Its not needed for now. Thank you for the help!