Grasshopper

algorithmic modeling for Rhino

Hi All,

I have a fairly simple but crucial problem. I would like convert my list (screenshot below) into an array. This way I can export my data to a text file with every branch in one line. I would appreciate every help.

So it will become:

32

10,inc,18,inc,6

10,inc,20,inc,6

Views: 887

Replies to This Discussion

Use [Text Join] component (each branch will be an item) and flat his output (if you want all items in a list).

BTW. A list is an array (of 1D), and in your pic you have 3 branches of a tree, each brach is a list. 

Perfect! Thank you!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service