Hello all,
I’m looking to sort a list of curves by the curves ‘EndPoint’ and ‘StartPoint’ List.MinimumItem of their Z Value.
I have a list of curves from a rectangular surface, and I want to filter out the bottom/lowest one.
In this case, I would be looking for the curve that has the ‘EndPoint.Z’ and ‘StartPoint.Z’ = 0. In other examples, I would need the lowest Z values (Hence the need for List.MinimumItem).
Anyone have any ideas? I messed around with ‘SortByFunction’ but got tripped up on Function.Compose (No idea how it works haha).