I can get my geometry to the 296 if I can merge the 4 deep data trees to 3 deep. I’m sure there is a simple way, I’m just not able to get it to play nicely.
maybe find out, why you have a datatree with different pathes / branches that have different depth / length ? and sort out this part of your gh-file ?
this will be the most robust solution.
otherwise maybe a multiline-pathmapper ?
(which will fail if you have path-length that is not covered by the expressions, for example while updaten part of the definition)
another approach might be (comments / feedbacks are welcome) dynamically recreate new pathes and use them with “replace paths”. with this approach you are more or less doing a custom path-mapper - that can react on different input.
Try using Heron’s Topiary Flatten component. These uneven branches usually occur due to building footprints with courtyards or with multi-polygon footprints. The Topiary Flatten was built to help deal with cleaning up the trees.