Hi! I am struggling with organizing this point according to their y and z as shown in the red. Every time I use sort by they never are in the crescent order. Do you know how to do it?
can you share the sample file and with how much you done?
This scenario has been asked about many times before. Please try searching the forum for similar topics before starting a new one. You just need to apply the correct list levels.
I m not finding anything similar. Do you know where i can look for ? Or do u have any example?
give me a moment @MariaLauraLeonardi ,
i’ll create something for you
Thanks a lot
It depends on what exactly you’re looking for, but those should get you started.
Thanks a lot! Is the node that you used the same as this?
because I see a little difference
Yes, i am just in a newer version of Dynamo
Are your Z-Values and Y-Values rounded?
If not maybe you can use a Math.Round node in between. (Then you need to change the List.SortByFunction node to List.SortbyKey and get your key inputs from your list (with a Math.Round in between).
PS: you dont need to flatten / shuffle the list, i just added those in my script to show you that it works with any input
Always round your values when comparing. Dynamo makes precision issues at longer decimal lengths.
thanks, im trying
thanks
My issue with rounding is then that I put together these two z values
I really dont know how to figure this out
Have you tried the Math.Round node where you can set your decimals?
Maybe try setting it to 1 or 2 decimal points
but i am having this final issue