TextObjectPlane

Returns or modifies the plane used by a text object.

Syntax

rhinoscriptsyntax.TextObjectPlane(object_id, plane=None)

rhinoscript.geometry.TextObjectPlane(object_id, plane=None)

Parameters

object_id

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

plane

Optional.  The new text object plane

Returns

Plane

If a plane is not specified, the current plane if successful.

Plane

If a plane is specified, the previous plane if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select text")

if rs.IsText(obj):

    plane = rs.ViewCPlane("Top")

    rs.TextObjectPlane( obj, plane )

Also See

AddText

IsText

TextObjectFont

TextObjectHeight

TextObjectPoint

TextObjectStyle

TextObjectText