Accessing Textdot Secondary text

Is it possible to access secondary text?

I’m not seeing anything here…

https://developer.rhino3d.com/5/api/RhinoCommon/html/T_Rhino_DocObjects_TextDotObject.htm

You can use TextDot.SecondaryText property like this:

import rhinoscriptsyntax as rs
textDot = rs.GetObject("Select textDot", rs.filter.textdot)
textDot = rs.coercegeometry(textDot)
print textDot.SecondaryText

Rickson.py (158 Bytes)