How to get multiple Elevation Marker Locations

Hi @daniel1
Did this work for you? The first Python script you posted worked for me but, as you say, it only works with one elevation marker. I can’t seem to get the latter script to work though. Did I miss a step?