TextDotText

Returns or modifies the text string of an annotation text dot object.  Annotation dots can be created using Rhino's Dot command.

Syntax

rhinoscriptsyntax.TextDotText (object_id, text=None)

rhinoscript.geometry.TextDotText (object_id, text=None)

Parameters

object_id

Required.  String or Guid.  The identifier of the object.

text

Optional.  String.  A new character or text string.

Returns

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.

Example

import rhinoscriptsyntax as rs

id = rs.GetObject("Select text dot")

if rs.IsTextDot(id):

    rs.TextDotText( id, "Rhino")

Also See

AddTextDot

IsTextDot

TextDotPoint