# Chose which set of script to run?

**URL:** <https://forum.dynamobim.com/t/chose-which-set-of-script-to-run/33428>\
**Category:** Lists-Logic\
**Created:** [March 14, 2019, 12:50am UTC](https://forum.dynamobim.com/t/chose-which-set-of-script-to-run/33428 "2019-03-14T00:50:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![glenncai](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@glenncai](https://forum.dynamobim.com/u/glenncai)\
**Post date:** [March 14, 2019, 12:50am UTC](https://forum.dynamobim.com/t/chose-which-set-of-script-to-run/33428/1 "2019-03-14T00:50:47Z")

</div>

For example I have 2 set of script that create complete different set of geometries. Can I have a Boolean to chose which set of script to run? Thank you  
 ![runme_2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/8/28629f6b3319a0104b9f9ad46a3a77276ffb189b.jpeg)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [March 14, 2019, 1:49am UTC](https://forum.dynamobim.com/t/chose-which-set-of-script-to-run/33428/2 "2019-03-14T01:49:16Z")

</div>

Hi @glenncai

A forum search yields quite a few results. Here is one of them:

> [@If - Statement Output](https://forum.dynamobim.com/t/if-statement-output/8134/10):
>
> Another clever way I found on github ([https://github.com/DynamoDS/Dynamo/issues/6491](https://github.com/DynamoDS/Dynamo/issues/6491))[image]
