TextDotFont

Returns or modifies the font used by an annotation text dot object.

Syntax

rhinoscriptsyntaax.TextDotFont (object_id, fontface=None)

rhinoscript.geometry.TextDotFont (object_id, fontface=None)

Parameters

object_id

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

fontface

Optional.  String.  The new font face name.  If omitted, the current font is returned.

Returns

String

If a font is not specified,  the current font face name if successful.

String

If a font is specified,  the previous font face name 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.TextDotFont( obj, "Arial" )

Also See

AddTextDot

IsTextDot

TextDotHeight

TextDotPoint

TextDotText