# Parameter.SetValue for multiple family types

**URL:** https://forum.dynamobim.com/t/parameter-setvalue-for-multiple-family-types/67556
**Category:** Packages
**Tags:** orchid
**Created:** [August 26, 2021, 9:12am UTC](https://forum.dynamobim.com/t/parameter-setvalue-for-multiple-family-types/67556 "2021-08-26T09:12:32Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![iga](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@iga](https://forum.dynamobim.com/u/iga)
#### Post date: [August 26, 2021, 9:12am UTC](https://forum.dynamobim.com/t/parameter-setvalue-for-multiple-family-types/67556/1 "2021-08-26T09:12:32Z")

</div>

I need to set different parameter values for different family types (values are read from excel before)  
When I try to use Parameter.SetValue Orchid node it looks like its only populating last values instead of all of them. Any ideas what went wrong?

- btw. I am using Revit 2017 for that and cant get done it in newer Revit

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

---

<div class="post-metadata">

### Author: ![timhevel](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/timhevel/32/109364_2.png) [@timhevel](https://forum.dynamobim.com/u/timhevel)
#### Post date: [August 26, 2021, 12:46pm UTC](https://forum.dynamobim.com/t/parameter-setvalue-for-multiple-family-types/67556/2 "2021-08-26T12:46:47Z")

</div>

try setting lacing to longest

---

<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: [August 26, 2021, 1:30pm UTC](https://forum.dynamobim.com/t/parameter-setvalue-for-multiple-family-types/67556/3 "2021-08-26T13:30:52Z")

</div>

Not sure if there’s anything different with the Orchid node, but why not just use the standard `SetParameterByName` node?

---

<div class="post-metadata">

### Author: ![iga](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@iga](https://forum.dynamobim.com/u/iga)
#### Post date: [August 27, 2021, 7:40am UTC](https://forum.dynamobim.com/t/parameter-setvalue-for-multiple-family-types/67556/4 "2021-08-27T07:40:18Z")

</div>

It doesn’t work inside family file. So I have to use Orchid one, or any other that would work inside .rfa

---

<div class="post-metadata">

### Author: ![iga](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@iga](https://forum.dynamobim.com/u/iga)
#### Post date: [August 27, 2021, 7:41am UTC](https://forum.dynamobim.com/t/parameter-setvalue-for-multiple-family-types/67556/5 "2021-08-27T07:41:16Z")

</div>

I tried that, and still have same problem. I also tried to work on levels - still nothing ☹

---

<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: [August 27, 2021, 3:26pm UTC](https://forum.dynamobim.com/t/parameter-setvalue-for-multiple-family-types/67556/6 "2021-08-27T15:26:57Z")

</div>

Can you confirm it’s writing to the parameter value and not the formula field?

---

<div class="post-metadata">

### Author: ![iga](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@iga](https://forum.dynamobim.com/u/iga)
#### Post date: [August 31, 2021, 9:10am UTC](https://forum.dynamobim.com/t/parameter-setvalue-for-multiple-family-types/67556/7 "2021-08-31T09:10:03Z")

</div>

Yes. I double checked that before running dynamo.

---

<div class="post-metadata">

### Author: ![eliasbim123](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/eliasbim123/32/73298_2.png) [@eliasbim123](https://forum.dynamobim.com/u/eliasbim123)
#### Post date: [August 20, 2024, 6:31am UTC](https://forum.dynamobim.com/t/parameter-setvalue-for-multiple-family-types/67556/8 "2024-08-20T06:31:26Z")

</div>

Similar situation. Let’s say I have a Ball Valve family. It has 10-80 mm types. I only use the 80mm type family in the model but must set all Assembly Code parameters for 10-80 mm types the same value.

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