Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

Reading and writing a text block inside the drawing

$
0
0

@adrianh wrote:

How do I get the actual text into a variable.

strObject is the ID of the object itself. I can't figure the syntax out to get the actual text.

This is the demo that writes the text but it doesn't actually read the text

Dim strObject
strObject = Rhino.GetObject("Select text")

If Rhino.IsText(strObject) Then
  Rhino.TextObjectText strObject,"Rhino"
End If

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles