# Add Shared Parameters To Selected/Filtered Families of Same Category

**URL:** <https://forum.dynamobim.com/t/add-shared-parameters-to-selected-filtered-families-of-same-category/74481>\
**Category:** Uncategorized\
**Tags:** revit, archi-lab, python, dynamo, orchid\
**Created:** [March 17, 2022, 2:37pm UTC](https://forum.dynamobim.com/t/add-shared-parameters-to-selected-filtered-families-of-same-category/74481 "2022-03-17T14:37:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![waqarkhan9494](https://avatars.discourse-cdn.com/v4/letter/w/a5b964/32.png) [@waqarkhan9494](https://forum.dynamobim.com/u/waqarkhan9494)\
**Post date:** [March 17, 2022, 2:37pm UTC](https://forum.dynamobim.com/t/add-shared-parameters-to-selected-filtered-families-of-same-category/74481/1 "2022-03-17T14:37:25Z")

</div>

Hi,

I have a project which includes several families of same category. For instance, the project contains Antenna 1, Antenna 2, Radio 1, Radio 2, Radio 3… etc

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

I want to add shared parameters only to Antenna 1 and Antenna 2 families in in the project as instance parameters. I have used a filter in my script based on a parameter “Description”

The problem is that I am able to create share parameters inside the text file but I can not see the parameter in the properties/family editor. I have used the “CreateSharedParameter” from Orchid Package

I have attached the dynamo script. Please help 🙂

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/a/2a97307c51666edefb49b78d3657bb1d0f782781.jpeg)  
[New2.dyn](https://forum.dynamobim.com/uploads/short-url/6JdJXSdLUK0rOTISBIy2VUmO8qd.dyn) (33.2 KB)

---

<div class="post-metadata">

**Author:** ![waqarkhan9494](https://avatars.discourse-cdn.com/v4/letter/w/a5b964/32.png) [@waqarkhan9494](https://forum.dynamobim.com/u/waqarkhan9494)\
**Post date:** [March 17, 2022, 2:41pm UTC](https://forum.dynamobim.com/t/add-shared-parameters-to-selected-filtered-families-of-same-category/74481/2 "2022-03-17T14:41:36Z")

</div>

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

---

<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:** [March 17, 2022, 3:32pm UTC](https://forum.dynamobim.com/t/add-shared-parameters-to-selected-filtered-families-of-same-category/74481/3 "2022-03-17T15:32:28Z")

</div>

Can you repost your graph image using the Export Workspace button in Dynamo? Your current image is zoomed out too far and illegible. Make sure all the node names are visible before exporting the image.

> [@waqarkhan9494](#):
>
> The problem is that I am able to create share parameters inside the text file but I can not see the parameter in the properties/family editor.

Can you also explain this a little more? If you’re saying the parameter doesn’t show up when you manually try to load the parameter in Revit then you have a separate issue.

---

<div class="post-metadata">

**Author:** ![waqar.a.khan949](https://avatars.discourse-cdn.com/v4/letter/w/2bfe46/32.png) [@waqar.a.khan949](https://forum.dynamobim.com/u/waqar.a.khan949)\
**Post date:** [March 22, 2022, 5:04pm UTC](https://forum.dynamobim.com/t/add-shared-parameters-to-selected-filtered-families-of-same-category/74481/4 "2022-03-22T17:04:06Z")

</div>

Hi Nick,  
Sorry for the late response, I actually fixed this issue but now I am facing another problem. Please see the new topic that I have created and help 🙂

> [@Batch Create Shared Parameters In Families From Directory](https://forum.dynamobim.com/t/batch-create-shared-parameters-in-families-from-directory/74659):
>
> Hi I have several family documents in a directory, I am trying to first filter them based on the category and a paramater, In the second step I am trying to add shared parameters to these families. Work Flow Chart: The script shows no errors but the issues arise, when I check the output. When I open the families it gives me the following error and the parameters are not added. [Capture] After I close it and re-open, I can see that the parameters are added. But If I dont save th…
