Returns or modifies the height of an annotation text dot object.
rhinoscriptsyntax.TextDotHeight (object_id, height=None)
object_id |
Required. Guid or String. The identifier of the object. |
height |
Optional. Number. The new text height. If omitted, the current text height is returned. |
Number |
If a height is not specified, the current text height if successful. |
Number |
If a height is specified, the previous text height if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select text dot")
if rs.IsTextDot(obj): rs.TextDotHeight(obj, 10.0)