Anyone knows a solution to add the same element to the beginning of each of my sublists, with codeblock? (The size of my input list is varies.) It is working fine with the List.AddItemToFront node, but I need to achieve it with the code
See this post. I think it has the answer to your question.
You can also try the node to code function to reveal the code in DesignScript format.
Thank you! I was not aware of “node to code”.
No problem at all! and welcome to the forum!