Grasshopper

algorithmic modeling for Rhino

Hi all (and Happy new year)

does someone know how to include a CRLF in a string to be display on 2 lines with the "Text Tag 3D" ?

Thank you in advance

Rolland

Views: 1079

Replies to This Discussion

TextTag3d xcalls a Rhino internal text drawing method with a single string. Normally "\n" should be coding a CRLF in the string. Since this this doesn't break the line, TextTag3d seems to be for a single line of text only.

Text tag 3d can handle text with multiple lines just fine. If you're entering the text yourself, just put a carriage return in the text panel; if you're building the text to display from some data, use "string join" with a panel containing only the carriage return as the join character. 

http://www.grasshopper3d.com/forum/topics/wish-tags-to-handle-multiple

Thank you guys

But non of your solution work.

It's display the "\n" instead of doing the CRLF

Any other idea?

Hoops I wrote to fast

The method with the "string join" and the pannel does EXACTLY what I wanted

Once more

Thank you all

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service