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)

1 Like

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

Hi Helvetosaur,

Thank you for your kind clear this case,
but how about if we need text as per Cplane Coordinate?

Thank in advance

This should do the trick:

LabelPtsWCPlaneTextZ.py (676 Bytes)

That is very Nice Helvetosaur,
Thank you very much

Kind Regards,
Parapat