Grasshopper

algorithmic modeling for Rhino

I'm having some trouble getting the following data set to branch into separate lists.  I've been using the split (list) & flatten (tree) components but I have multiple data types to split.  For example (below) I am reading a .csv file with 6 columns of data (ex. CA1, 88.45, 625.49, 65.6, 97.39, 735.24) and I need to create 6 individual lists to include all instances of these data.  Any input on which components I should be using, aside from the split, flatten or dispatch components?

 

Thanks,

Joel

Views: 2792

Attachments:

Replies to This Discussion

I'm answering this away from my gh PC so I cannot open the file. Where are the panel's inputs coming from? Is the first panel the output of the file read component or the string split component? If it is the output of the file then a comma used as the split character should suffice to get the end panel's results. If it is the output of the string split then pass it through another split string component with a comma to separate.
If you then want all the first items on a branch ie ca1, ca2 etc you could use the flip matrix component to get 6 branches

Thanks a lot. Very educational!!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service