Hi everyone, I found a solution for my problem.
List.getitematindex work correctly but not in my case.
Remind the initial problem :
Can correctly merge two list of point in case of list “level”.
As you can see, on the screenshot, my point exit are in this form :
list
__list 0
____x = … ; y = … ; z = …
__list 1
____x = … ; y = … ; z = …
If you use list.transpose in this case you don’t obtain the points you need to place your adaptive component with two point.
To place your adaptive component by two point you need that type of form :
__list 0
____x = … ; y = … ; z = …
____x = … ; y = … ; z = …
__list 1
____x = … ; y = … ; z = …
____x = … ; y = … ; z = …
To delete a “level” of list you need flaten node in exit of point.bycoordonate to get this :
list
__x = … ; y = … ; z = …
__x = … ; y = … ; z = …
__x = … ; y = … ; z = …
__x = … ; y = … ; z = …
Now if you transpose this type of list you obtain that :
__list 0
____x = … ; y = … ; z = …
____x = … ; y = … ; z = …
__list 1
____x = … ; y = … ; z = …
____x = … ; y = … ; z = …
This is the dynamo of the solution :
Fact :
Flaten remoove you a level of list in a list. It can also delete null value of a list.
list.transpose work like this (bold is enter, green is the exit)
I hope this final post will be helpfull for us !
See you soon on forum.dynamobim.com