# Shared parameters - adding

**URL:** <https://forum.dynamobim.com/t/shared-parameters-adding/53904>\
**Category:** Revit\
**Tags:** dynamo, data-shapes\
**Created:** [August 10, 2020, 1:10pm UTC](https://forum.dynamobim.com/t/shared-parameters-adding/53904 "2020-08-10T13:10:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PLMRBA](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@PLMRBA](https://forum.dynamobim.com/u/PLMRBA)\
**Post date:** [August 10, 2020, 1:10pm UTC](https://forum.dynamobim.com/t/shared-parameters-adding/53904/1 "2020-08-10T13:10:28Z")

</div>

Hi.  
I created script to adding shared parameters using .txt file - in the same way how it was described in data-shapes page:

> **[Batch add shared parameters from .txt file with UI.MultipleInputForm ++](https://data-shapes.io/2016/12/11/batch-add-shared-parameters-from-txt-file-with-ui-multipleinputform/comment-page-1/#comment-69)**
>
> Adding shared parameters to a project is often a pain because you can’t batch add them through Revit’s user interface. There are a couple of workarounds online that do the job just fine…

I choose category and parameters to add.  
Always after run, I get message about added parameters (“X shared parameters addes to project”) - but in chosen categories nothing appear.

Have someone similar problem?

---

<div class="post-metadata">

**Author:** ![d.kuurman](https://avatars.discourse-cdn.com/v4/letter/d/f1d935/32.png) [@d.kuurman](https://forum.dynamobim.com/u/d.kuurman)\
**Post date:** [August 10, 2020, 1:55pm UTC](https://forum.dynamobim.com/t/shared-parameters-adding/53904/2 "2020-08-10T13:55:07Z")

</div>

Does your graph show an error? If not, please post a picture of your graph with the data bubbles unfolded so the community can see what’s going on. 🙂

---

<div class="post-metadata">

**Author:** ![PLMRBA](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@PLMRBA](https://forum.dynamobim.com/u/PLMRBA)\
**Post date:** [August 11, 2020, 7:37am UTC](https://forum.dynamobim.com/t/shared-parameters-adding/53904/3 "2020-08-11T07:37:45Z")

</div>

Graph doesn’t show errors. You can see my scirpt below.

I am attaching gif where I couldn’t added parameter to structural framing. In previous step I added them into Structural column - in the same way.

---

<div class="post-metadata">

**Author:** ![\_Vijay](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/_vijay/32/91307_2.png) [@\_Vijay](https://forum.dynamobim.com/u/_Vijay)\
**Post date:** [August 11, 2020, 8:04am UTC](https://forum.dynamobim.com/t/shared-parameters-adding/53904/4 "2020-08-11T08:04:13Z")

</div>

is that you are intending…

 ![31.Shared parameter add using text file to project_2020-08-11_01-33-29](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/1/c168f65eb30bfd767f366ce28ee0db0a28fa11ba.png)

[31.Shared parameter add using text file to project.dyn](https://forum.dynamobim.com/uploads/short-url/osOV80HNyAL9uZC0a9vd9vDzC91.dyn) (11.0 KB)

---

<div class="post-metadata">

**Author:** ![PLMRBA](https://avatars.discourse-cdn.com/v4/letter/p/b2d939/32.png) [@PLMRBA](https://forum.dynamobim.com/u/PLMRBA)\
**Post date:** [August 11, 2020, 10:14am UTC](https://forum.dynamobim.com/t/shared-parameters-adding/53904/5 "2020-08-11T10:14:34Z")

</div>

Yes, I did it the same way but using ‘data shapes’ nodes.

I tried a lot of experiments and I noticed that all work fine when I use .txt file which wasn’t use before in that model. When I run the script I’ve got all shared parameters in “Shared Parameters” manage and then I cannot assign them to new categories using Dynamo (despite I get a comment that all parameters have been added). But when I change .txt file to another - all work well.

To sum up, I can use that script only once - later I cannot assign parameters to other families.
