# If/else node with 2 outputs

**URL:** <https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213>\
**Category:** Lists-Logic\
**Tags:** dynamo\
**Created:** [May 31, 2023, 8:29am UTC](https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213 "2023-05-31T08:29:40Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![1bitBoolean](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/1bitboolean/32/165603_2.png) [@1bitBoolean](https://forum.dynamobim.com/u/1bitBoolean)\
**Post date:** [May 31, 2023, 8:29am UTC](https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213/1 "2023-05-31T08:29:41Z")

</div>

Could someone help me make a node that recieves boolean and outputs text depending on if bool is true or false? 1 bool input, 2 outputs to seperate results like this

 ![Screenshot_1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/2/625f7e78e7290db085b48145480169b1aa87e15c.png)

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [May 31, 2023, 8:36am UTC](https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213/2 "2023-05-31T08:36:24Z")

</div>

@1bitBoolean ,

playing like this

 ![grafik](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/8/68921c239ab750a9d64ab8393ab9b6f612bcd4f3.png)  
KR  
Andreas

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [May 31, 2023, 8:51am UTC](https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213/3 "2023-05-31T08:51:02Z")

</div>

Can’t quite tell what you’re after without seeing some data…

---

<div class="post-metadata">

**Author:** ![manhgt214](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/manhgt214/32/153251_2.png) [@manhgt214](https://forum.dynamobim.com/u/manhgt214)\
**Post date:** [May 31, 2023, 10:54am UTC](https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213/4 "2023-05-31T10:54:30Z")

</div>

You must show more information

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/7/675dd145bc2e571803511cf5b806414951f5f982.png)

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/f/7f90f71cbc21748a119c3387ce334fc8ead7ac74.png)

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [May 31, 2023, 11:05am UTC](https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213/5 "2023-05-31T11:05:20Z")

</div>

@manhgt214 ,

of course 😉

 ![grafik](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/e/6e8fda409bd07f5308826aabaae7e5735e26f962.png)

KR

Andreas

---

<div class="post-metadata">

**Author:** ![1bitBoolean](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/1bitboolean/32/165603_2.png) [@1bitBoolean](https://forum.dynamobim.com/u/1bitBoolean)\
**Post date:** [May 31, 2023, 11:10am UTC](https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213/6 "2023-05-31T11:10:26Z")

</div>

More information. I am going to use it with passthrough to prevent a part ofnode tree from running if the list. Equals output is false

 ![safdsafdssadfdfssdfaasdf](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/2/e2816b95f76eda2a9dea0ff97a751502b6ad63ec.png)

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [May 31, 2023, 11:14am UTC](https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213/7 "2023-05-31T11:14:02Z")

</div>

@1bitBoolean ,

you can deal with variables

![grafik](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/7/374c44d3eafd5746bdf00c2f1781cd4a4ed2f5cf.png)

KR

Andreas

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [May 31, 2023, 11:31am UTC](https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213/8 "2023-05-31T11:31:41Z")

</div>

not 100 sure but how about something

![Revit_PQga4RiLyP](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/f/9f95e403fcbc7970024ea3e1934972c9e2ad9501.gif)

---

<div class="post-metadata">

**Author:** ![1bitBoolean](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/1bitboolean/32/165603_2.png) [@1bitBoolean](https://forum.dynamobim.com/u/1bitBoolean)\
**Post date:** [May 31, 2023, 11:37am UTC](https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213/9 "2023-05-31T11:37:09Z")

</div>

Sorry for my repeatedly clumsy wording. I wanted a node with 2 outputs where if input is true it outputs through top output and if false through bottom but realized a flaw - I want to use it to control passthrough node but didn’t realize if there was no output it would still output a null triggering passthrough. I need to redefine the entire thread into new one. Thanks everyone!

---

<div class="post-metadata">

**Author:** ![Bartholin](https://avatars.discourse-cdn.com/v4/letter/b/e68b1a/32.png) [@Bartholin](https://forum.dynamobim.com/u/Bartholin)\
**Post date:** [June 1, 2023, 4:27pm UTC](https://forum.dynamobim.com/t/if-else-node-with-2-outputs/90213/10 "2023-06-01T16:27:01Z")

</div>

List filter by boolean mask might be what you are looking for.
