Hi Dingle,
This is what you need to use - Rhino.TextDotPoint
Here is a script that show it in action:
Option Explicit
'Script written by <insert name>
'Script copyrighted by <insert company name>
'Script version Friday, March 21, 2008 6:10:20 PM
Call DotText()
Sub DotText()
Dim strObjects, text2Make, dotPt, y
strObjects = Rhino.GetObjects("Select text dots")
For y=0 To Ubound(strObjects)
If Rhino.IsTextDot(strObjects(y)) Then
text2Make = Rhino.TextDotText (strObjects(y))
dotPt = Rhino.TextDotPoint (strObjects(y))
Rhino.AddText text2Make,dotPt,0.12
End If
Next
End Sub
On Jan 4, 1:06 pm, dingle <[email protected]> wrote:
> i suppose this is more of a rhino question than grasshopper, but
> anyway.
> is there any way to convert a text dot (tag) into a text object, or to
> have grasshopper update text objects within the rhino document? i
> wrote a quick script that acquires the contents of a text dot and adds
> a text object, but finding the point at which to place the new text
> object is the problem. tried using the ObjectGrip methods but they
> don't work with dots (or even text objects for that matter). this
> quickly becomes a problem when there are many dots to convert...
> is there something painfully basic i've overlooked?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Grasshopper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/grasshopper3d?hl=en
-~----------~----~----~----~------~----~------~--~---