Dispatch rows and columns

unhandled

#1

I’m trying to select rows and columns organized with data structure, Still I have not very clear how to organize the data with Tree components .someone can help me?

Dispatch rows and columns.gh (6.4 KB)


#2

I’m not sure what you’re trying to do but that’s not how ‘Dispatch’ works.

Have a look at this. It includes a ‘Tree/List Viewer’ utility that makes it easy to examine data trees of geometry. Choose “rows” or “columns” to see the output of ‘SDivide’ raw (as rows) or via ‘Flip matrix’ (as columns). In either case, the ‘path idx’ slider lets you choose a branch of the tree (in blue) and the ‘list idx’ slider lets you choose an item (in yellow) in that branch.


rows_and_columns_2018Jan23a.gh (20.2 KB)


(David Rutten) #3

Explode Tree will put all branches (or ‘rows’ if you will) into different outputs, but it’s not a good component to use if the number of branches is variable. Flip Matrix will swap rows and columns in a rectangular tree.


#4

it helps to study thank you I have a doubt, I have organized my data but neither point is selected how I can get it? Is very dumb I need more practice in data structure and its components


#5

I want organize data in this way assume is very easy I need more practice :persevere:


#6

You certainly do.


(David Rutten) #7

Depends on your particular definition of easy I guess.

If at present all points are at index=0, then you have to start merging branches. How that works depends on how they are organised. Eventually once you have your points properly organised in columns, it will then be easy to convert it into rows using Flip Matrix.

I’m in the middle of a meeting now, but I can have a look in a while. Is @Joseph_Oster’s file from an hour ago not working for you?


#8

Well it select rows but not my entire column - False - forgot the value list is working, even i would like see your example

It sounds good maybe if you have time could share an example


#9

What? Did you try the ‘Value List’ switch (green below) to change from rows to columns?

Do you understand this code example at all? Have you searched the forum for examples of how ‘Dispatch’ is used correctly?


#10

take it easy It works perfectly I just forgot the value list To be honest yesterday I used it form first time so I thought the yellow point just select one item and not my column :relaxed:


#11

@Joseph_Oster
Why I dont got any points selection, and custom color shows error, independently what is in those branches I must have something selected, what is the metod to have the selection into the second group.

I apologyse if I despair you.


rows_and_columns_ no selection.gh (20.5 KB)


#12

You’ve been here awhile, started many threads and received help from a lot of people, yet I see no evidence whatsoever that you have the slightest degree of understanding or aptitude for Grasshopper.

The best way to do that is to ignore you completely, and I will try harder to do that. Quite honestly, I responded to this thread today before realizing it was you asking the question. My mistake.

P.S. Read the error message on the red ‘Preview’ component:


#13

I’m learning man, You responded to 2 post mine this one (I appreciate
it) and Removing inner intersections which to be honest did not help anything until ErickVasquez answered, you achieve the way to did it and you are been here time long ago.

In another cases no matter how many do you know about grasshopper if you don’t have notion, idea, how to achieve a nice Design:
http://islandcad.com/proa_sketches_Rhino_CAD/grasshopper_hulls/index.html
http://islandcad.com/marine/tender/

No nice shape, Bad renders, but it is not the point.
Whatever thanks for your help

Equally for you, there a lot a people here who want to help to other people independently of their skills, being less arrogant. :v: