# Selection dropdown to list using python

**URL:** <https://forum.dynamobim.com/t/selection-dropdown-to-list-using-python/58941>\
**Category:** Developers\
**Created:** [January 5, 2021, 1:11pm UTC](https://forum.dynamobim.com/t/selection-dropdown-to-list-using-python/58941 "2021-01-05T13:11:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohamad\_Kayali](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohamad_kayali/32/13609_2.png) [@Mohamad\_Kayali](https://forum.dynamobim.com/u/Mohamad_Kayali)\
**Post date:** [January 5, 2021, 1:11pm UTC](https://forum.dynamobim.com/t/selection-dropdown-to-list-using-python/58941/1 "2021-01-05T13:11:02Z")

</div>

Hi,  
i need to have a list of all element subtypes like the ones in (Element Types) node:  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/d/3d1d32a4a4b0661bcead6bb68d2051430f6220ee.png)  
i need to do that in python.  
Where can i find the codes of Dynamo builtin nodes?

---

<div class="post-metadata">

**Author:** ![staylor](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/staylor/32/94307_2.png) [@staylor](https://forum.dynamobim.com/u/staylor)\
**Post date:** [January 5, 2021, 2:03pm UTC](https://forum.dynamobim.com/t/selection-dropdown-to-list-using-python/58941/2 "2021-01-05T14:03:44Z")

</div>

You can use the Document.ElementTypes node from Clockwork. If you use this in conjunction with the UI Data Shapes nodes, you can have the script provide a user input checkbox selection list.

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/b/cb3b7804ebd0f31f09cd3c59b1d983dabd8bb1e4.png)

---

<div class="post-metadata">

**Author:** ![Mohamad\_Kayali](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mohamad_kayali/32/13609_2.png) [@Mohamad\_Kayali](https://forum.dynamobim.com/u/Mohamad_Kayali)\
**Post date:** [January 5, 2021, 2:15pm UTC](https://forum.dynamobim.com/t/selection-dropdown-to-list-using-python/58941/3 "2021-01-05T14:15:25Z")

</div>

Thank you Staylor!
