Creating a 'for loop' as index for GetItemAtIndex

Good day!

I would like to ask about ‘for loops’ in Dynamo. What I’m trying to achieve is that I would like to automatically place ‘Flow’ values on every Air Terminal in a certain space based on the spaces’ ‘Specified Supply Airflow’. I would like it to run from 0-3 since I have 4 spaces. I’m a beginner and this is the only possible workaround that I can think of. Any insight would be appreciated. Here is a screenshot of my code:

Hello @kylemagpantay222 and welcome here ;)…how about something here ?

2 Likes

Wow, this is wonderfully made. Thank you for this. I might just look into GeniusLoci now. Haha. May I just ask if I can do it with just the native nodes? I want to know more about the workflow without custom nodes.

1 Like

Yes try something here…you could also try doesintersect…good luck

EDIT saw i still use custom nodes (genius loci) here without ;)…

1 Like

Thank you, @sovitek! You have been a great help. I would incorporate this newly found knowledge to my future codes as well.

Closing this thread now.

1 Like