Hi!
I have list of points in branches.Points in lists are such that the last point of the first list and first point of the adjacent list have same XY-cordinates but different Z-levels.I want these points to have same Z- levels which should be maximum out of both the points.
I am looking for a way to make this comparison and replace the points in the native lists.
I am going to use these points to construct a column. So want to have one post with maximum Z- level at that common location.Currently I have two posts modelled at same location(See attached picture).
I will flatten the list and remove the duplicate points and then model the columns.
I have attached a gh file with the reference data.
It worked @magicteddy .
Thank you!
But I have another situation as well where last point of the first list and first point of the adjacent list don’t have same XY- cordinates rather they are away by a specific distance say 3m. I want the Z- level of these points to be same(Maximum of the both).
I have attached a sample gh file with the list of point data and picture for your reference.
Here it is for the sake of completion, but @PeterFotiadis C# component is far more compact - it doesn’t even need the BTree input which makes it even lighter !