# Select elements in view by multiple categories

**URL:** <https://forum.dynamobim.com/t/select-elements-in-view-by-multiple-categories/56120>\
**Category:** Uncategorized\
**Created:** [October 12, 2020, 8:02pm UTC](https://forum.dynamobim.com/t/select-elements-in-view-by-multiple-categories/56120 "2020-10-12T20:02:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mix](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@mix](https://forum.dynamobim.com/u/mix)\
**Post date:** [October 12, 2020, 8:02pm UTC](https://forum.dynamobim.com/t/select-elements-in-view-by-multiple-categories/56120/1 "2020-10-12T20:02:49Z")

</div>

Anyone know if any of these nodes are supposed to be able to work with multiple categories as an input. doesnt seem like there should be a limitation on this. But I could be wrong. Any ideas how to do this?

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

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [October 12, 2020, 8:48pm UTC](https://forum.dynamobim.com/t/select-elements-in-view-by-multiple-categories/56120/2 "2020-10-12T20:48:15Z")

</div>

Hi @mix,

The problem is that you are using Autodesk.DB.Category instead of Revit.Elements.Category.  
Use the _Categories.GetAll_ node instead of _Categories list_ or or uses nodes that accept both Revit.Elements.Category and Autodesk.DB.Category as _SelectByCategory in Document_ and _SelectByCategoryAndView_ nodes.

 ![categories](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/f/af9c380340af01f1056dd844f282be1149aa067c.png)
