# Select Model Elements By Category w/Category Node

**URL:** <https://forum.dynamobim.com/t/select-model-elements-by-category-w-category-node/101192>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [May 21, 2024, 4:40pm UTC](https://forum.dynamobim.com/t/select-model-elements-by-category-w-category-node/101192 "2024-05-21T16:40:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kslifter](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kslifter/32/192657_2.png) [@kslifter](https://forum.dynamobim.com/u/kslifter)\
**Post date:** [May 21, 2024, 4:40pm UTC](https://forum.dynamobim.com/t/select-model-elements-by-category-w-category-node/101192/1 "2024-05-21T16:40:02Z")

</div>

Anyone know if there is a Select Model Elements By Category node that lets you use a node to select the Category?

Thanks

---

<div class="post-metadata">

**Author:** ![Mike.Buttery](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mike.Buttery](https://forum.dynamobim.com/u/Mike.Buttery)\
**Post date:** [May 22, 2024, 6:47am UTC](https://forum.dynamobim.com/t/select-model-elements-by-category-w-category-node/101192/2 "2024-05-22T06:47:09Z")

</div>

~~Did you search for it?~~ **EDIT** I’m assuming you have the node but want change the categories dynamically. If you use the node you will note that it filters as you select, so it won’t have other categories selected - see below for suggested alternative which will update elements based on selection and category

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

---

<div class="post-metadata">

**Author:** ![Mike.Buttery](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mike.Buttery](https://forum.dynamobim.com/u/Mike.Buttery)\
**Post date:** [May 22, 2024, 6:54am UTC](https://forum.dynamobim.com/t/select-model-elements-by-category-w-category-node/101192/3 "2024-05-22T06:54:26Z")

</div>

Or you could roll your own

 ![Category_Selector_2024-05-22_02-53-42](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/1/41d189159d1c4be9cf5b37d767e34c2510bab81a.png)

---

<div class="post-metadata">

**Author:** ![kslifter](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kslifter/32/192657_2.png) [@kslifter](https://forum.dynamobim.com/u/kslifter)\
**Post date:** [May 22, 2024, 1:09pm UTC](https://forum.dynamobim.com/t/select-model-elements-by-category-w-category-node/101192/4 "2024-05-22T13:09:27Z")

</div>

Thanks for the suggestion, I’m pretty familiar with Dynamo so I’m not sure why I didn’t think to do it this way.

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [May 22, 2024, 1:58pm UTC](https://forum.dynamobim.com/t/select-model-elements-by-category-w-category-node/101192/5 "2024-05-22T13:58:02Z")

</div>

If you want to filter multiple categories or conditions then filtering in graph is best. If you want to streamline things for your users by only allowing specific selections then Data-Shapes has a node for filtered selection by category.

---

<div class="post-metadata">

**Author:** ![kslifter](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kslifter/32/192657_2.png) [@kslifter](https://forum.dynamobim.com/u/kslifter)\
**Post date:** [May 22, 2024, 2:13pm UTC](https://forum.dynamobim.com/t/select-model-elements-by-category-w-category-node/101192/6 "2024-05-22T14:13:01Z")

</div>

Wow, I need to step up my game as I didn’t think of Data-Shapes either. I could place it on my [Pyrevit](https://discourse.pyrevitlabs.io/) tool bar I created then too. Thanks for the tip.

---

<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 22, 2024, 3:16pm UTC](https://forum.dynamobim.com/t/select-model-elements-by-category-w-category-node/101192/7 "2024-05-22T15:16:53Z")

</div>

I believe there are out of the box nodes for this in the generative design section of the Revit library as well.

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [May 22, 2024, 3:30pm UTC](https://forum.dynamobim.com/t/select-model-elements-by-category-w-category-node/101192/8 "2024-05-22T15:30:59Z")

</div>

> [@Mike.Buttery](#):
>
> ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/4/c4ff1778e5124aa218dba2a8913a526fc683ade1.png)

This node is really nice. I used to have a version of it in Rhythm before DynamoCore adopted it.

However, this node will not work in Generative Design or Dynamo player.

---

<div class="post-metadata">

**Author:** ![kslifter](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kslifter/32/192657_2.png) [@kslifter](https://forum.dynamobim.com/u/kslifter)\
**Post date:** [May 22, 2024, 3:39pm UTC](https://forum.dynamobim.com/t/select-model-elements-by-category-w-category-node/101192/9 "2024-05-22T15:39:02Z")

</div>

Yeah, I was using the script in Player and it doesn’t allow the user to select the category.  
I’ll likely go the route of using Data-Shapes so I can add it to my toolbar.
