Grasshopper

algorithmic modeling for Rhino

Hi David and Scott,

My wish is that tags can handle multiple lines of panels. A tag in Rhino now show the data on the same line. I bit difficult to read. :)
Cheers Bas

Views: 4425

Attachments:

Replies to This Discussion

Hoi Bas,

The screen-aligned text drawing does not support multiline data at all, but when you merge your multiple lines into a single String*, you can display them as a single object using the 3D tag:


--
David Rutten
david@mcneel.com
Poprad, Slovakia


*I used a VB component for this. One line of code:
A = String.Join(Environment.NewLine, T.ToArray())
mmm, what am I doing wrong?
Attachments:
You have to right click on the 'T' input, enable "List" and set the type hint as "String".
Thanks Vicente, it works in the official Beta and version 0.50099.
Hi David, It does not work in the version you provided me. :) It can wait.
With picture to prove
Attachments:
It works, I still had the VB editor open
Dear David,

Strange, this function moves (sometimes) extra lines on top of the first line. See attached picture in two steps.
Attachments:

You've got separate paths going into the vb.net component. It will output one string per path. You have to flatten the data. Right click on the 'T' input and select 'flatten'.
Hi Vicente, I tried, but it still does strange. Now it jumps to the last line, even when I add extra lines. funny.........
That makes sense. You'll have to flatten it earlier. Place a flatten component in between the A output and the text note.
Yes, that does the job. Thanks a lot!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service