# Creating project parameters duplicates even if the parameter exists

**URL:** <https://forum.dynamobim.com/t/creating-project-parameters-duplicates-even-if-the-parameter-exists/52774>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [July 8, 2020, 7:31pm UTC](https://forum.dynamobim.com/t/creating-project-parameters-duplicates-even-if-the-parameter-exists/52774 "2020-07-08T19:31:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarod.tulanowski](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jarod.tulanowski/32/83235_2.png) [@jarod.tulanowski](https://forum.dynamobim.com/u/jarod.tulanowski)\
**Post date:** [July 8, 2020, 7:31pm UTC](https://forum.dynamobim.com/t/creating-project-parameters-duplicates-even-if-the-parameter-exists/52774/1 "2020-07-08T19:31:24Z")

</div>

Have one question how do you make this not create multiples if they are already in the project. It seems that if you hit the run command it creates the parameter just fine but if you run it again (after you reload the project) it adds the same parameter again. How do you check and see if the parameter exists and skip the add

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/b/9b1ae6dac2eca60c308347ea2f907e3f7d311de0.jpeg) ![Capture2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/3/131e35d27b03769f6fbc074e8f89ff9a26fb1a44.jpeg) [1 Add Parameters.dyn](https://forum.dynamobim.com/uploads/short-url/jxp60ZouDt1yke6lNkX9WzP7KaC.dyn) (8.3 KB)

---

<div class="post-metadata">

**Author:** ![jshial](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jshial/32/91559_2.png) [@jshial](https://forum.dynamobim.com/u/jshial)\
**Post date:** [July 9, 2020, 2:02am UTC](https://forum.dynamobim.com/t/creating-project-parameters-duplicates-even-if-the-parameter-exists/52774/2 "2020-07-09T02:02:10Z")

</div>

@jarod.tulanowski maybe you could get a list of existing parameters first and do a bit of List.Difference then feed the result to creation node.

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

---

<div class="post-metadata">

**Author:** ![jarod.tulanowski](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jarod.tulanowski/32/83235_2.png) [@jarod.tulanowski](https://forum.dynamobim.com/u/jarod.tulanowski)\
**Post date:** [July 10, 2020, 2:31pm UTC](https://forum.dynamobim.com/t/creating-project-parameters-duplicates-even-if-the-parameter-exists/52774/3 "2020-07-10T14:31:45Z")

</div>

OK got it to work had to use a python script i found on another site. I will share all info for the next person to utilize.

> **[Does the parameter exist?](http://bimandothers.blogspot.com/2017/07/does-parameter-exist.html)**
>
> I'm back after a while with a new article on Dynamo. This time I'll try to explain how to check if a list of parameters are available in the...

 ![solution](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/9/798c17167e7f3a1f443d6eb1f51c975830bb71fd.jpeg)

[1 Add Parameters.dyn](https://forum.dynamobim.com/uploads/short-url/rAnbNKvDfh6RPXYVBl9DE0MjQ4N.dyn) (16.5 KB)
