Sort Data in a branch based on data in the same branch

unhandled

(Anna Kim) #1

Hi everyone, I am trying to create a visualization of some excel data. I need group Item 0 of each branch based on the data of Item 2. I’m attaching a screen shot and relevant files for clarification - it’s a bit hard to explain verbally.

If anyone has any suggestions, I’d really appreciate it. Thank you!
Anna
Sorting Data.gh (10.9 KB)



#2

Same unreadable image twice? That’s confusing… (P.S. The image is readable if you download it.)

missing

Can you please internalize the data you want to sort so we all don’t need that plugin?


(Anna Kim) #3

How do I internalize data? I’m referencing data from an excel sheet…


(Anna Kim) #4

Sorry - this might be clearer. I’m trying to connect between two sets of points - one set at the top, and one set at the bottom. Because I have an uneven number of top points and bottom points, the remaining top points are connecting into the bottom right point.

I want to group a certain number of points from the top and assign it to a specific point at the bottom. For instance, the first 6 points at the top, connect to the first point at the bottom.Visualization.gh (11.0 KB)
Visualization.3dm (169.4 KB)


#5

You connect a Txt param to the output of the Excel reader, right-click it and choose “Internalize data” which disconnects it from the reader component (no longer needed) and saves it when you save the file.

I didn’t want to wait so faked the data (purple group):


Sorting_Data_2018Feb3a.gh (20.5 KB)


#6

I haven’t downloaded these “Visualization” files but this looks like a different problem entirely?

OK, now I’ve looked. Heh, heh, no relationship at all between the two? Wow. What does the second one have to do with the first? And vice versa?


(Anna Kim) #7

Hi Joseph - thank you for your response. I am trying to use the excel data to determine which top points connect to the bottom points. I’ll take a look at your file, it looks very promising. Thank you!


#8

These two problems are completely different issues as far as I can see.


Visualization_2018Feb3a.gh (15.0 KB) (NOTE: re-posted with curves internalized, no need for Rhino file)


(Anna Kim) #9

Hi Joseph - Thanks again. This is what I was trying to do (see attached). It seems very cumbersome, but I’m not sure how to clean up the definition.
180201_Visualization_Data Internalized.gh (33.1 KB)
Visualization.3dm (169.4 KB)


#10

Are you kidding? I’m done here.