Only one element shown in excel output

Hi, why is only 1 elements shown in the excel output after adding in the Element.GetMaterials? Thanks!

capture 2
the excel only returns one element as above.

Hi @cche0044 ,

Your list structure is really weird, is there any reason you have it setup this way?
If you want to place your items in the second column whilst leaving the first column empty I would suggest adding some nulls (or “”) into your list.