# All family types of a system family category

**URL:** <https://forum.dynamobim.com/t/all-family-types-of-a-system-family-category/10048>\
**Category:** Packages\
**Tags:** revit, datastructure\
**Created:** [March 3, 2017, 12:23pm UTC](https://forum.dynamobim.com/t/all-family-types-of-a-system-family-category/10048 "2017-03-03T12:23:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amyll](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amyll/32/21900_2.png) [@amyll](https://forum.dynamobim.com/u/amyll)\
**Post date:** [March 3, 2017, 12:23pm UTC](https://forum.dynamobim.com/t/all-family-types-of-a-system-family-category/10048/1 "2017-03-03T12:23:29Z")

</div>

Hello,

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

I’ve made this script and i actually works (Yay)! Im just not satisfied, because I’ve to choose each wall type. The node im looking for is something that takes all family types of a given familiy (both component families and system families) visible in a model. This would automate some of my trivial/repitive work.  
I know Clockwork made “All family types of category” but it doesn’t work for system families. Is it possible, that this kind of Node doesn’t exist?

Is it possible to make it work in another way? get the family types of elements and somehow make them family/types, so I can set type parameter?

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [March 4, 2017, 10:11pm UTC](https://forum.dynamobim.com/t/all-family-types-of-a-system-family-category/10048/2 "2017-03-04T22:11:45Z")

</div>

Hello, you could simply use _Element Types_ + _All elements of Type_ and then set the type parameter like so:

> [@Set Type Parameter](https://forum.dynamobim.com/t/set-type-parameter/9660):
>
> I’m working with Archi-lab\_Grimshaw and it seems like “Set Type Parameter” Node isn’t working. [image] Any ideas of what I might be doing wrong? Get works fine! [image]

See also here:  
[http://dynamoprimer.com/en/08\_Dynamo-for-Revit/8-2\_Selecting.html](http://dynamoprimer.com/en/08_Dynamo-for-Revit/8-2_Selecting.html)

---

<div class="post-metadata">

**Author:** ![amyll](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/amyll/32/21900_2.png) [@amyll](https://forum.dynamobim.com/u/amyll)\
**Post date:** [March 13, 2017, 10:54am UTC](https://forum.dynamobim.com/t/all-family-types-of-a-system-family-category/10048/3 "2017-03-13T10:54:29Z")

</div>

I started out doing that. And it works, but the problem is, that the type parameter writes all types in the template and not only in the model.

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [March 13, 2017, 8:13pm UTC](https://forum.dynamobim.com/t/all-family-types-of-a-system-family-category/10048/4 "2017-03-13T20:13:29Z")

</div>

Strange, when I use _Categories_ + _All Elements of Category_ + _SetParameterByName(TypeOrInstance)_, unplaced families are not selected and remain unchanged

---

<div class="post-metadata">

**Author:** ![paris](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paris/32/144289_2.png) [@paris](https://forum.dynamobim.com/u/paris)\
**Post date:** [March 10, 2018, 10:26pm UTC](https://forum.dynamobim.com/t/all-family-types-of-a-system-family-category/10048/5 "2018-03-10T22:26:41Z")

</div>

Hello amyll, you could use OOTB nodes below:

1. “Categories” with Walls\_“All Elements of Category”_“Element.GetParameterValueByName” (write “Type” into “Code Block” for input to parameterName)_“Element.SetParameterByName” with your “Code Block” of inputs.  
or
2. “Element Types” with Wall\_“All Elements of Type”_“Element.GetParameterValueByName” (write “Type” into “Code Block” for input to parameterName)_“Element.SetParameterByName” with your “Code Block” of inputs.  
I hope it helps  
SP
