# How to use ElementType.ByName

**URL:** <https://forum.dynamobim.com/t/how-to-use-elementtype-byname/73159>\
**Category:** Revit\
**Created:** [February 9, 2022, 4:53am UTC](https://forum.dynamobim.com/t/how-to-use-elementtype-byname/73159 "2022-02-09T04:53:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![theshysnail](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/theshysnail/32/146653_2.png) [@theshysnail](https://forum.dynamobim.com/u/theshysnail)\
**Post date:** [February 9, 2022, 4:53am UTC](https://forum.dynamobim.com/t/how-to-use-elementtype-byname/73159/1 "2022-02-09T04:53:48Z")

</div>

How do I use ElementType.ByName? The _name_ input requires a string but it gives a warning.

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

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [February 9, 2022, 6:07am UTC](https://forum.dynamobim.com/t/how-to-use-elementtype-byname/73159/2 "2022-02-09T06:07:02Z")

</div>

Try with tye name,

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

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/1/412e8d9f46eea90a1af089687302cdb5abd5c62f.png)

---

<div class="post-metadata">

**Author:** ![theshysnail](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/theshysnail/32/146653_2.png) [@theshysnail](https://forum.dynamobim.com/u/theshysnail)\
**Post date:** [February 9, 2022, 6:25am UTC](https://forum.dynamobim.com/t/how-to-use-elementtype-byname/73159/3 "2022-02-09T06:25:55Z")

</div>

Thanks for showing its use. However, here _Crumple_ and _Clockwork_ packages have the node to get the Element Type with its name.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/0/40327dbfd2f7b65ab6f889de6a28b5aea87eef36.png)
