Returns or modifies the plane used by a text object.
rhinoscriptsyntax.TextObjectPlane(object_id, plane=None)
rhinoscript.geometry.TextObjectPlane(object_id, plane=None)
object_id |
Required. String or Guid. The identifier of the object. |
plane |
Optional. The new text object plane |
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. |
import rhinoscriptsyntax as rs
obj = rs.GetObject("Select text")
if rs.IsText(obj):
plane = rs.ViewCPlane("Top")
rs.TextObjectPlane( obj, plane )