TextDotHeight

Returns or modifies the height of an annotation text dot object.

Syntax

rhinoscriptsyntax.TextDotHeight (object_id, height=None)

Parameters

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.

Returns

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.

Example

import rhinoscriptsyntax as rs

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

if rs.IsTextDot(obj): rs.TextDotHeight(obj, 10.0)

Also See

AddTextDot

IsTextDot

TextDotFont

TextDotPoint

TextDotText