TextObjectPoint

Returns or modifies the location of a text object.

Syntax

rhinoscriptsyntax.TextObjectPoint (object_id, point=None)

rhinoscript.geometry.TextObjectPoint (object_id, point=None)

Parameters

object_id

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

point

Optional.  List of 3 numbers or Point3d.  A 3-D point identifying the new location point.

Returns

Point3d

If a new location is not specified,  the 3-D point identifying the current location if successful.

Point3d

If a new location is specified,  the 3-D point identifying the previous location if successful.

None

If not successful, or on error.

Example

import rhinoscriptsyntax as rs

obj = rs.GetObject("Select text")

if rs.IsText(obj):

    rs.TextObjectPoint( obj, [0,0,0] )

Also See

AddText

IsText

TextObjectFont

TextObjectHeight

TextObjectPlane

TextObjectStyle

TextObjectText