Grasshopper

generative modeling for Rhino

Hi, anybody mind answering this simple question. How do I start a new line while using text tag, so the text looks like

20

122

4

 

rather than all on top of each other? I searched through the forum but couldn't find an answer to it...

 

Thanks in advance.

 

Tags: tag, text

Views: 204

Reply to This

Replies to This Discussion

This is what I did to start each text on a new line.... but I really believe there should be a simpler/built-in way of doing it

 

There is a "return" character. If you use the "Join strings" component and set the join character to a panel where you've just typed enter/return, (make sure multiline data is checked on this panel), you should get a single string with multiple lines. It will only work with the 3d text tag component - the regular text tag can only display single lines.

Hi Andrew, what you said works. But all my texts are actually parameters read from somewhere else, rather than just something I write manually into a panel.

What I said still applies. You can use the "join strings" component to join a list of N strings, separating each string (dynamic or otherwise) with the return character. Only the single panel with a carriage return in it needs to be specified manually. 

RSS

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service