Getting coordinates of selected point in python


I have now spent multiple hours going through every post on “getting point coordinates”, but to no avail.

I have a wavelet source on the surface of which I have selected a point using the GUI. Now I want to get the coordinates of the point in the python console.

I do not understand how it is possible to access some of the properties of the selection, such as the node index(?) or anything remotely useful.

Thanks in advance.

es = ExtractSelection()
dataset = servermanager.Fetch(es)

Add another Layout/View and use SpreadSheetView
Looks like you already have a point selected so go to the spreadsheet and select Show only selected elements (red highlight in the pic)


EDIT: My apologies. I didn’t see the part about “Python Console”. I guess I’ll leave this here as an alternative.