Tagging points with text Z ordinate

Hi,
Very new to coding…
I having been looking for a simple rhino or python script to tag a bunch of point with their world Z ordinate value using text. Can anyone assist?

Many thanks in advance!

Cheers,
M

Here is a basic script… It can be easily modified/tailored to your needs, I did not include any text styling or justification for the moment, so it uses the defaults.

LabelPtsWTextZ.py (532 Bytes)

That is perfect! Thanks for your assistance.
Much appreciated.

Regards,
Michael

@m.wilson this is also now possible using Rhino 7.0 WIP’s PointCoordinate Text Field