Python script to make text dots with Z height out of points?

As my scripting skills are quite limited, I was wondering if someone knows if there is a Python script for the mac that will make text dots with the Z heights out of point ?

I made a mockup by hand writing the Z heights, please see the screenshot.

Thanks Kevin.

Try this:

import rhinoscriptsyntax as rs

ptIds = rs.GetObjects("pick up the points", 1, preselect = True)

for i in range(len(ptIds)):
    ptObj = rs.PointCoordinates(ptIds[i])
    rs.AddTextDot("%0.3f" % ptObj.Z, ptObj)
1 Like

That is great, thank you djordje !