Grasshopper

algorithmic modeling for Rhino

Hi,

I have some data in some branch, sometimes the same data in multiple branch. Now I want to know in which branches I find a particular data.

I attach my definition for a better comprehension.

Thank you.

Views: 890

Attachments:

Replies to This Discussion

Here try this. It will also work is that data appears multiple times as seen in the lower example of the screenshot. 

Attachments:

Attachments:
Nice. Also I realize in mine you should test list length first.

Thank you. It looks working, even if I didn't realise why! ... at all! :)

I expected that I was missing some very simple component doing this... thanks again

1) Find the "Address" of each Value

Graft--> Tree Statistics--> Decompose Path--> Item#1 = Branch Number

2) Find the "Address" of the Branch Number and Replace with the Value

Item--> Replace Paths

Graft--> Replace Paths

Item--> Tree Statistics--> Replace Paths

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service