Multiple list management, search and find the item in Grasshopper

LIST-1 - Contains name of Structure ID (dynamic list)
LIST-2 - Contains name of Structure ID & its size ID (dynamic list)

LIST-3 - size ID and its Diameter (dynamic list)

Need to search the Diameter from LIST-3 and assign it to Structure ID in the LIST-1

For instance, Structure ID ‘1’ should be of size ‘600’ diameter

Hi afroz2 Pro,

Please post your data as well.

You can internalized Text components so you don’t have to provide the entire definition, just the Data Structures related to your question.

241225 Query.gh (14.2 KB)

Hi @Japhy! Thanks for replying. I am attaching the grasshopper file for your reference.

To elaborate problem, the LIST-1 contains the column ID’s in the first index ‘0’ say ‘Column ID = 1’.
LIST-2 is having the column ID’s in first index ‘0’ and its size ID in index ‘2’ say ‘Column ID = 1’ and its ‘Size ID = PO-C21A-10T32-600D-C90’ . The LIST-3 is having the combination of Size ID and the size say for ‘Size ID = PO-C21A-10T32-600D-C90’ the size is ‘600’

So, i need get the size ID for LIST-2 by comparing items in LIST-1 and get the size from LIST-3 by comparing the size ID.

Finally the column ID=1 has to get the size as 600.

something like this?

241225 Query_Re.gh (29.4 KB)

Thanks @inno & @Japhy
@inno the idea you provided helps me to solve my situation. Thanks a lot!

1 Like