Hello everyone,
How can I sort a list in which it is taking two index and adding them to another list with a sequence, I want add them in a way that it takes two index at a time then remove the other index in the new list and take the next one , I couldn’t explain it by writing so there is a simple example to illustrate my purpose.
The blue List is the list I want to achieve , you can see that I want A,B to be with number1 , Then B & C with number 2 , then C &D With Number 3, IS there anyway I can achieve that ?
Thanks a lot
Hi newshunhk , Thanks A lot dear this is the way I want it exactly , but forgive me I don’t know how to insert a python script may I ask how did you get this Black screen that says python script ?
Hi, right click on the node:

that looks very easy!
Hello
I learn a lot of python with the posted messages
too
it’s good, I’m making progress. ![]()
Cordially
christian.stan
Thanks a lot Andreas this one also works but my script is way to big for now so I am trying to limit my nodes , again thanks a lot
Hi Christian this also works I tried this approach but I only have 1 , 2 , 3 as strings for example and A, B, C D , in the case you provided me I was always getting an E letter added out of no were do you for example how can we remove , it’s just out of knowledge I am trying learn as much as I can
Thanks
Hi Newshunhk how can I make the script work for 3 lists if I may ask ?
Hey draxl, how can i convert my theme black like you?
It is the default color from revit 2023.
I will try this now Christian ,
Thanks a lot man
can you show more on the left? see what are you feeding.








