Hi all!
Is there any way to create Text objects that automatically use the Object name? I’ve been trying to script this in Rhinoscript but nothing seems to work at this point. I’ve looked in Converting Text to Geometry with VBScript but my Rhinoscript does not recognize the object name strings as “Text” (by Rhino.IsText).
Example:
For Each strExtract In arrExtract
If VarType(strExtract) = vbString Then
objectname = sectienaam & " - " & newLayer & " " & a
localname = Rhino.ObjectName(strExtract, objectname)
Else
Rhino.Print("Object is not valid")
Exit Sub
End If
a = a + 1
If Rhino.IsText(objectname) Then
Rhino.Print("Is text")
End If
Next
So “Is text” is not printed in this situation…
Thanks in advance!
Pim