- get distance between points in same sublists
…
2. Distance between points in the same sublist
…
Thanks In Advance
…
2. Distance between points in the same sublist
…
Thanks In Advance
Hi.
Check this recording about Lacing. Might help you to continue.
It will also be much easier to help you if you share you .dyn-file and dwg-file.
I use Geometry. Distance to with lacing L1 and L2 with cross product lacing but the problem in my case with level I want to measure distances between points in the same sublists
No, Like this image but in sublists I want to do it before flatten I don’t want to draw lines distances only
I’d go this way:
I don’t want to make flatten and this way take the first point with the others points even if in the others sublists I want to take point with other points in the same sublist
It take the first point only with other points What about the second point… etc with the other points
Might be misunderstanding the question… can you post a data set of 3 sublists with 3 items per list, and the expected results if this isn’t correct?
Applying the method that @christian.stan provided above, in the manner below, should be the results you are looking for. Each item in each sublist is only getting compared to the other items within the same sublist. If this is correct, please mark christian’s answer as the resolution.
Hello and thank you , but the merit goes to Mr. Solamour for his handout (clear, precise, concise) of Ljubiana 2018
Cordially
christian.stan
Thank you for providing that link. I have been wanting to implement DesignScript more into my graphs and that will help out greatly!
Thank you very much. This is what I was looking for. It’s like magic
Could I get the index of minimum item It should not be zero with code block
such as 2.5,1.5,0,0.5 I want to get the index of 0.5 the second min item or min item ( not be zero )
Thank you for your support , could I use with level2
Try this.
x = (a > 0);
y = List.AllIndicesOf(x@L2<1>, true);
z = List.GetItemAtIndex(a@L2<1>, y);
List.MinimumItem(z);