Have you ever wanted to get an item from a list or nested list and were always using the “GetItemAtIndex” node in DynamoBIM and felt like it could be much easier?
Well it could be.
If you want any item from any nested list…even if the item is in a list that is nested 6 lists deep…it only takes 1 node.
Basically just use the following format in a code block
x is an input list or nested list the rest are indexes placed withing closed box brackets
The image will summarize the process.
I hope this helps and saves you time when you want to extract an item from a list or nested list. Good luck and happy list item getting!