Returns or modifies the location, or insertion point, of an annotation text dot object.
rhinoscriptsyntax.TextDotPoint (object_id, point=None)
rhinoscript.geometry.TextDotPoint (object_id, point=None)
object_id |
Required. String or Guid. The identifier of the object. |
point |
Optional. List. A 3-D point identifying the new location point. |
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. |
import rhinoscriptsyntax as rs
id = rs.GetObject("Select text dot")
if rs.IsTextDot(id):
point = rs.TestDotPoint(id)
rs.AddPoint( point )
rs.TextDotPoint(id, [0,0,0])