Returns or modifies the text string of an annotation text dot object. Annotation dots can be created using Rhino's Dot command.
rhinoscriptsyntax.TextDotText (object_id, text=None)
rhinoscript.geometry.TextDotText (object_id, text=None)
object_id |
Required. String or Guid. The identifier of the object. |
text |
Optional. String. A new character or text string. |
String |
If a new text string is not specified, the current string value if successful. |
String |
If a new text string is specified, the previous string value if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
id = rs.GetObject("Select text dot")
if rs.IsTextDot(id):
rs.TextDotText( id, "Rhino")