Is the output of “Element.Curves” a flat list like the beams? I suspect it’s outputting nested lists.