# Can't get the revit family parameter

**URL:** <https://forum.dynamobim.com/t/cant-get-the-revit-family-parameter/18768>\
**Category:** Revit\
**Created:** [February 4, 2018, 2:08pm UTC](https://forum.dynamobim.com/t/cant-get-the-revit-family-parameter/18768 "2018-02-04T14:08:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rostyslav](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Rostyslav](https://forum.dynamobim.com/u/Rostyslav)\
**Post date:** [February 4, 2018, 2:08pm UTC](https://forum.dynamobim.com/t/cant-get-the-revit-family-parameter/18768/1 "2018-02-04T14:08:41Z")

</div>

Hi  
Component “Element.SetParameterByName” does not see the family parameter  
Below on the screengrabs the family and its parameter that I’m aiming to tweak in dynamo.  
Also I attached the family itself.  
Thank you, hope it makes sense

 ![rfa%5D](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/0/f02400bc88ff9c4b9f16878b95ec3028c7b33f9e.jpg) ![2018-02-04%2014_57_49-Dynamo](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/d/cdaaf9df38de129e1a20bb03eb97b5df0024b089.jpg)

[Window\_membrane.rfa](https://forum.dynamobim.com/uploads/short-url/8d8VA9IsjRHpJpPpSjlKiSZnrEh.rfa) (244 KB)

---

<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:** [February 4, 2018, 2:16pm UTC](https://forum.dynamobim.com/t/cant-get-the-revit-family-parameter/18768/2 "2018-02-04T14:16:28Z")

</div>

Looks like you’re trying to get type parameters from an instance. Remember those values can’t differ from instance to instance so unless your types vary by each value, consider making that an instance parameter. Post your full graph and a sample Revit file if you’re not sure what I mean by this.

---

<div class="post-metadata">

**Author:** ![Rostyslav](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Rostyslav](https://forum.dynamobim.com/u/Rostyslav)\
**Post date:** [February 4, 2018, 4:03pm UTC](https://forum.dynamobim.com/t/cant-get-the-revit-family-parameter/18768/3 "2018-02-04T16:03:15Z")

</div>

Thank you for reply.  
[https://we.tl/lGgobKUNDY](https://we.tl/lGgobKUNDY)  
Here is the link to the files.  
very appreciate your support

---

<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:** [February 7, 2018, 4:19am UTC](https://forum.dynamobim.com/t/cant-get-the-revit-family-parameter/18768/4 "2018-02-07T04:19:09Z")

</div>

So the issue is exactly as I said - you’ve selected a family type (your panel type which was selected in the **Family Types** node), then gotten every family instance of that type ( **All Elements of Type** node), and then tried to set a type parameter (which as the name implies is a part of the family type) on the family instances (which would need instance parameters).

If you want the panels to have variable openings, you need to change the parameter to an instance parameter. You can get info on how to do that here: [Revit OpEd: Can't Change a Parameter from Type to Instance](http://revitoped.blogspot.com/2012/03/cant-change-parameter-from-type-to.html)

If you want only one value for all panels, wire the **Family Types** node into the set parameter value node as the element.

---

<div class="post-metadata">

**Author:** ![Rostyslav](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@Rostyslav](https://forum.dynamobim.com/u/Rostyslav)\
**Post date:** [February 8, 2018, 10:50am UTC](https://forum.dynamobim.com/t/cant-get-the-revit-family-parameter/18768/5 "2018-02-08T10:50:43Z")

</div>

Thank you Jacob !
