# \#looping

**URL:** https://forum.dynamobim.com/tag/looping/151.md

[Latest](https://forum.dynamobim.com/latest.md) · [Categories](https://forum.dynamobim.com/categories.md) · [Tags](https://forum.dynamobim.com/tags.md)

---

## [While Loop Levels Help](https://forum.dynamobim.com/t/while-loop-levels-help/100900)

<div class="topic-metadata">

**Author:** [@phillip.austin](https://forum.dynamobim.com/u/phillip.austin)\
**Replies:** 1\
**Last updated:** [May 11, 2024, 9:15am UTC](https://forum.dynamobim.com/t/while-loop-levels-help/100900 "2024-05-11T09:15:55Z")

</div>

I am having some trouble using the while loop node with a list. I keep starting an infinite loop that will eventually crash Revit. Is there a way to force stop the loop so I dont have to restart every time? This is ex…

---

## [Using WhileLoop](https://forum.dynamobim.com/t/using-whileloop/91457)

<div class="topic-metadata">

**Author:** [@maciej.wojtunik](https://forum.dynamobim.com/u/maciej.wojtunik)\
**Replies:** 4\
**Last updated:** [July 5, 2023, 2:00pm UTC](https://forum.dynamobim.com/t/using-whileloop/91457 "2023-07-05T14:00:01Z")

</div>

Hello, I need to run a Function (green gruop) for each element in list (Data node on the beginning). I created such a WhileLoop, but it doesn’t work. The output is run the Function only for the last element . Does …

---

## [Dynamo - Loop part of the script for each item on a list](https://forum.dynamobim.com/t/dynamo-loop-part-of-the-script-for-each-item-on-a-list/91378)

<div class="topic-metadata">

**Author:** [@LOESCH\_PK](https://forum.dynamobim.com/u/LOESCH_PK)\
**Replies:** 3\
**Last updated:** [July 4, 2023, 2:44pm UTC](https://forum.dynamobim.com/t/dynamo-loop-part-of-the-script-for-each-item-on-a-list/91378 "2023-07-04T14:44:44Z")

</div>

Dear Dynamo users/masters. I have possibly an easy/newbie question with looping part of the script. I have a problem with Element.FilterByParameterValue node (so i think). I’m trying to filter down a list of all rooms o…

---

## [Code block while loop](https://forum.dynamobim.com/t/code-block-while-loop/79167)

<div class="topic-metadata">

**Author:** [@Ahmed\_Ramy](https://forum.dynamobim.com/u/Ahmed_Ramy)\
**Replies:** 3\
**Last updated:** [July 27, 2022, 11:20am UTC](https://forum.dynamobim.com/t/code-block-while-loop/79167 "2022-07-27T11:20:08Z")

</div>

Hi All! I am trying to get a list of integers based on a counter. Here is a shot of my script and I can’t get it done. Any help ??

---

## [Strange LoopWhile](https://forum.dynamobim.com/t/strange-loopwhile/79008)

<div class="topic-metadata">

**Author:** [@Ahmed\_Ramy](https://forum.dynamobim.com/u/Ahmed_Ramy)\
**Replies:** 12\
**Last updated:** [July 25, 2022, 8:39am UTC](https://forum.dynamobim.com/t/strange-loopwhile/79008 "2022-07-25T08:39:31Z")

</div>

Again, the strange and mysterious loopwhile is unclear how it works or even where the code flows.??? And I don’t understand what is missing it to work ???

---

## [Using an index from LoopWhile](https://forum.dynamobim.com/t/using-an-index-from-loopwhile/76395)

<div class="topic-metadata">

**Author:** [@jpfx](https://forum.dynamobim.com/u/jpfx)\
**Replies:** 6\
**Last updated:** [May 10, 2022, 3:04pm UTC](https://forum.dynamobim.com/t/using-an-index-from-loopwhile/76395 "2022-05-10T15:04:12Z")

</div>

I am trying to export a (single) familytype in a project to DWG and IFC with different parameters (width, Height) which I read from excel. Therfore I first put the single instance in a single view and read the parameter…

---

## [For Loop to compare list of items against one item - return list of bools](https://forum.dynamobim.com/t/for-loop-to-compare-list-of-items-against-one-item-return-list-of-bools/48215)

<div class="topic-metadata">

**Author:** [@VicVinegar](https://forum.dynamobim.com/u/VicVinegar)\
**Replies:** 2\
**Last updated:** [March 18, 2020, 4:21pm UTC](https://forum.dynamobim.com/t/for-loop-to-compare-list-of-items-against-one-item-return-list-of-bools/48215 "2020-03-18T16:21:30Z")

</div>

Hey Y’all– First time posting on the forum here so hope I format this correctly. I am relatively new to Dynamo/DesignScript as well. Goal: Create a node that will compare each item in a list against one item and return…

---

## [For Loop for Dynamo nodes](https://forum.dynamobim.com/t/for-loop-for-dynamo-nodes/47365)

<div class="topic-metadata">

**Author:** [@htmokac](https://forum.dynamobim.com/u/htmokac)\
**Replies:** 3\
**Last updated:** [February 27, 2020, 6:26am UTC](https://forum.dynamobim.com/t/for-loop-for-dynamo-nodes/47365 "2020-02-27T06:26:29Z")

</div>

Hi everyone, Is it possible to do for loop for dynamo nodes? The nodes I circled in the picture below are my desired input and output result. What I willing to do is to generate the output without repeating the “Lis…

---

## [DesignScript: A Robust Dive into the Language Underlying Dynamo](https://forum.dynamobim.com/t/designscript-a-robust-dive-into-the-language-underlying-dynamo/27438)

<div class="topic-metadata">

**Author:** [@solamour](https://forum.dynamobim.com/u/solamour)\
**Replies:** 5\
**Last updated:** [March 23, 2019, 8:49pm UTC](https://forum.dynamobim.com/t/designscript-a-robust-dive-into-the-language-underlying-dynamo/27438 "2019-03-23T20:49:59Z")

</div>

If you are curious about using DesignScript inside of Dynamo, but the resources available are not quite up to your liking, then come check out https://github.com/Amoursol/dynamoDesignScript. I have uploaded my BILT EUR 2…
