Write to excel

Hi ,

new user to Bentley generative Components. i am trying to explore how to write to excel say set of coordinates from existing elements/cell. i have managed to read from excel thanks to various support from users in this forum. however im having trouble writing to excel.  i have done quite a lot of such similar activities in Revit Dynamo side, but in GC i am finding it difficult to write to excel. i have attached an image below for reference.

Could someone please point out as to how the data / value structure should be say coordinates XYZ to be written to excel or even just X values or any value for that matter.  do i need to flatten the list ? if so how can i do that. any help would be appreciated. some reference or snapshot as examples would also help

thanks again