# Nested family parameter values

**URL:** <https://forum.dynamobim.com/t/nested-family-parameter-values/57121>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [November 11, 2020, 9:12am UTC](https://forum.dynamobim.com/t/nested-family-parameter-values/57121 "2020-11-11T09:12:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cas/32/105223_2.png) [@Cas](https://forum.dynamobim.com/u/Cas)\
**Post date:** [November 11, 2020, 9:12am UTC](https://forum.dynamobim.com/t/nested-family-parameter-values/57121/1 "2020-11-11T09:12:45Z")

</div>

Hi!

I’m working on a script that checks if stairs conform to the building code. The company i work for uses generic models as stairs. The family’s are made up out of different nested family’s. The parameters for riser height, tread depth, etc. are held inside the nested family.  
Is there a way to extract this information? (I don’t have to manipulate this data, I only need to check the values)

Thanks in advance 🙂

Grts Cas

---

<div class="post-metadata">

**Author:** ![jw.vanasselt](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jw.vanasselt/32/133533_2.png) [@jw.vanasselt](https://forum.dynamobim.com/u/jw.vanasselt)\
**Post date:** [November 11, 2020, 9:28am UTC](https://forum.dynamobim.com/t/nested-family-parameter-values/57121/2 "2020-11-11T09:28:20Z")

</div>

Hi Cas,

You can use the FamilyInstance.SuperComponent node from Clockwork for this:

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

---

<div class="post-metadata">

**Author:** ![Cas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cas/32/105223_2.png) [@Cas](https://forum.dynamobim.com/u/Cas)\
**Post date:** [November 11, 2020, 9:45am UTC](https://forum.dynamobim.com/t/nested-family-parameter-values/57121/3 "2020-11-11T09:45:51Z")

</div>

Hi Thanks for the quick response!  
If i try that i get “null”

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/6/064982a140bda858b8bf8dcb1ec5394f50b24666.png)  
I have checked the family, and this specific family instance does have nested family’s

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [November 11, 2020, 11:06am UTC](https://forum.dynamobim.com/t/nested-family-parameter-values/57121/4 "2020-11-11T11:06:34Z")

</div>

Hi @Cas

Do you mind sharing one of the family here?

---

<div class="post-metadata">

**Author:** ![Cas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cas/32/105223_2.png) [@Cas](https://forum.dynamobim.com/u/Cas)\
**Post date:** [November 11, 2020, 11:20am UTC](https://forum.dynamobim.com/t/nested-family-parameter-values/57121/5 "2020-11-11T11:20:53Z")

</div>

Hi!

I just came accros another tread. The solution was to check the box shared in the nested family. I did that just now, and that woks for the last step and the bottom corner steps.

The main family is build out of 3 nested family’s; Top step, straight steps, bottom corner steps.

The top and bottom steps don’t have any nested family’s. The straight steps family is an array of another nested family of a riser board and step. That last family has the parameters I’m looking for, but when I get to that family the parameters aren’t in the list

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

This is the link to the family (`*Moderation Edit*` Revit 2021): [https://we.tl/t-fKAL2e2gmJ](https://we.tl/t-fKAL2e2gmJ)

---

<div class="post-metadata">

**Author:** ![c.poupin](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/c.poupin/32/89152_2.png) [@c.poupin](https://forum.dynamobim.com/u/c.poupin)\
**Post date:** [November 11, 2020, 5:49pm UTC](https://forum.dynamobim.com/t/nested-family-parameter-values/57121/6 "2020-11-11T17:49:18Z")

</div>

Hello @Cas  
your parameters are Type Parameter, you need to get the Element Type for this

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

General remark  
When attaching a Revit file, remember to indicate its version, you will be more likely to get help 😉

---

<div class="post-metadata">

**Author:** ![Cas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cas/32/105223_2.png) [@Cas](https://forum.dynamobim.com/u/Cas)\
**Post date:** [November 11, 2020, 6:58pm UTC](https://forum.dynamobim.com/t/nested-family-parameter-values/57121/7 "2020-11-11T18:58:27Z")

</div>

@c.poupin Thanks! Sorry i forgot to mention the version. I can’t find the Elements.Type node. Is it from a package?

---

<div class="post-metadata">

**Author:** ![c.poupin](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/c.poupin/32/89152_2.png) [@c.poupin](https://forum.dynamobim.com/u/c.poupin)\
**Post date:** [November 11, 2020, 9:12pm UTC](https://forum.dynamobim.com/t/nested-family-parameter-values/57121/8 "2020-11-11T21:12:45Z")

</div>

You can use the OOTB node Element.ElementType

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