What I want to get is as you can see the X-coordinates are sorted, but i want that the first branch starts with the 0 Y value and the second branch with 8.5 value. Is there a way to sort tree branches?
Each branch has a single Y value so you can sort the Tree Statistics ‘P’ (Path) output by that Y value, then construct a new tree using Tree Branch, as I did just ten hours ago here:
If you had posted your points I would use them to show you, With only a screen shot, advice is the best I can do. Here is the relevant portion of that code:
Thank you Joseph, i will look at your solution also and see if that works and try to understand it first what is happening. Thanks for your information!
Hello, i have a similar problem, but my branches have different size. I followed your solution but it seems like it gonna keep the same branch size as previously but not “rearrange” branches… Do you have any idea?