Create multiples levels at once from excel sheet

Hi there,

Below is posted 2 screenshots, the first is with the nodes to make you understand whats happening, in the second it is done with a code block.


data = Data.ImportExcel(file,"Blad1", false, true);
t1 = List.RestOfItems(List.Transpose(data)@L2<1>);
t2 = List.GetItemAtIndex(t1, 1);
t3 = List.GetItemAtIndex(t1, 0);
level = Level.ByElevationAndName(t2, t3);

Hope this helps, Danos