Hi Bill, of course:
import Rhino
import scriptcontext
import rhinoscriptsyntax as rs
def TextToDot():
ids = rs.GetObjects("Select text objects", 512, True, True, False)
if not ids: return
for text_obj in [rs.coercerhinoobject(id, True, True) for id in ids]:
if isinstance(text_obj, Rhino.DocObjects.TextObject):
text = text_obj.TextGeometry.Text
rs.AddTextDot(text, text_obj.TextGeometry.Plane.Origin)
rs.DeleteObject(text_obj)
if __name__=="__main__":
TextToDot()
c,