# Parameter.CreateProjectParameter

**URL:** <https://forum.dynamobim.com/t/parameter-createprojectparameter/6143>\
**Category:** Revit\
**Created:** [September 12, 2016, 3:40pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143 "2016-09-12T15:40:31Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben\_Veasey](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ben_veasey/32/15775_2.png) [@Ben\_Veasey](https://forum.dynamobim.com/u/Ben_Veasey)\
**Post date:** [September 12, 2016, 3:40pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/1 "2016-09-12T15:40:31Z")

</div>

Hello

In Dynamo 1.2 how can a new Project Parameter be made using a Shared Parameter?

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/8/80910397ab6619d9acc846a8e14a7658ac80fe06.jpg)

---

<div class="post-metadata">

**Author:** ![Konrad\_K\_Sobon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/konrad_k_sobon/32/8838_2.png) [@Konrad\_K\_Sobon](https://forum.dynamobim.com/u/Konrad_K_Sobon)\
**Post date:** [September 13, 2016, 12:48am UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/2 "2016-09-13T00:48:49Z")

</div>

mhmmm, first of all please post the warning/error that you are getting. Secondly, just by looking at this, I can guess that:

1. groupName is not a parameterGroup input type but rather a string that represents the Shared Parameter Group name. That’s a group inside of your Shared Parameter file.
2. Type, is probably a type of parameter, ex. Text, Integer etc.
3. is List.Join the right node here? I think List.Create would do the trick.

Again, please post more accurate information. Do you just expect people to guess what is wrong with your set-up?

---

<div class="post-metadata">

**Author:** ![Ben\_Veasey](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ben_veasey/32/15775_2.png) [@Ben\_Veasey](https://forum.dynamobim.com/u/Ben_Veasey)\
**Post date:** [September 13, 2016, 8:11am UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/3 "2016-09-13T08:11:27Z")

</div>

Changing the Type and the Shared Parameter Group worked, thanks Konrad.

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

---

<div class="post-metadata">

**Author:** ![abdelgawad](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/abdelgawad/32/13586_2.png) [@abdelgawad](https://forum.dynamobim.com/u/abdelgawad)\
**Post date:** [September 13, 2016, 11:55am UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/4 "2016-09-13T11:55:15Z")

</div>

@Ben_Veasey  
I can’t find Parameter.CreateProjectParameter , is it in a specific package ?

---

<div class="post-metadata">

**Author:** ![Ben\_Veasey](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ben_veasey/32/15775_2.png) [@Ben\_Veasey](https://forum.dynamobim.com/u/Ben_Veasey)\
**Post date:** [September 13, 2016, 3:35pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/5 "2016-09-13T15:35:09Z")

</div>

It is in Dynamo 1.2.

---

<div class="post-metadata">

**Author:** ![BIMextension](https://avatars.discourse-cdn.com/v4/letter/b/53a042/32.png) [@BIMextension](https://forum.dynamobim.com/u/BIMextension)\
**Post date:** [November 9, 2016, 9:37pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/6 "2016-11-09T21:37:38Z")

</div>

What if I don’t want to make the project parameter NOT a shared parameter? If I leave the groupName input empty, the parameter is never created.

---

<div class="post-metadata">

**Author:** ![Beathih](https://avatars.discourse-cdn.com/v4/letter/b/439d5e/32.png) [@Beathih](https://forum.dynamobim.com/u/Beathih)\
**Post date:** [January 25, 2017, 4:05pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/7 "2017-01-25T16:05:51Z")

</div>

Hello everyone, like @abdelgawad I can not find Parameter.CreateProjectParameter… I have Dynamo 1.2.1.  
I am quiet new in Dynamo, I can not find the answer on other topic.

---

<div class="post-metadata">

**Author:** ![Beathih](https://avatars.discourse-cdn.com/v4/letter/b/439d5e/32.png) [@Beathih](https://forum.dynamobim.com/u/Beathih)\
**Post date:** [January 31, 2017, 3:46pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/8 "2017-01-31T15:46:50Z")

</div>

For anyone having the same problem, it is about Revit version too, not only Dynamo version.  
In Revit 2015, this node, _Parameter.CreateProjectParameter_, does not exist.

---

<div class="post-metadata">

**Author:** ![Josh\_Moore](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/josh_moore/32/24103_2.png) [@Josh\_Moore](https://forum.dynamobim.com/u/Josh_Moore)\
**Post date:** [February 10, 2017, 6:45pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/9 "2017-02-10T18:45:18Z")

</div>

This seems to actually create a shared parameter, not a project parameter. When you go into edit parameter, “Shared Parameter” button is toggled and grayed out. Anyone know what’s actually happening here? Revit 2017, and Dynamo 1.2

---

<div class="post-metadata">

**Author:** ![Cody\_Winchester](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cody_winchester/32/10369_2.png) [@Cody\_Winchester](https://forum.dynamobim.com/u/Cody_Winchester)\
**Post date:** [May 30, 2017, 5:01pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/10 "2017-05-30T17:01:06Z")

</div>

I’m seeing this too. Additionally, it appears to be writing to a Shared Parameter file that is invisible. The loaded shared parameter file does not contain the items generated by the graph when checked. The help for the Parameter.CreateProjectParameter says it is creating a project parameter so the intent is opaque. Does anyone have any insight on what is happening under the hood here?

---

<div class="post-metadata">

**Author:** ![Cody\_Winchester](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cody_winchester/32/10369_2.png) [@Cody\_Winchester](https://forum.dynamobim.com/u/Cody_Winchester)\
**Post date:** [June 7, 2017, 4:47pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/11 "2017-06-07T16:47:27Z")

</div>

Is this a glitch between Dynamo and Revit then? If this node does not actually create a project parameter as it appears to be intended, and instead creates a “floating” Shared Parameter that fails to write to a loaded Shared Parameter file, should this issue be reported?

---

<div class="post-metadata">

**Author:** ![Cody\_Winchester](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/cody_winchester/32/10369_2.png) [@Cody\_Winchester](https://forum.dynamobim.com/u/Cody_Winchester)\
**Post date:** [June 7, 2017, 8:50pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/12 "2017-06-07T20:50:28Z")

</div>

The positive I see though is that these parameters are transferable still between projects. They to be both project parameters and shared parameters at the same time. Weird.

---

<div class="post-metadata">

**Author:** ![jnoordzij](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jnoordzij/32/32419_2.png) [@jnoordzij](https://forum.dynamobim.com/u/jnoordzij)\
**Post date:** [September 19, 2018, 8:09am UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/13 "2018-09-19T08:09:58Z")

</div>

> What if I don’t want to make the project parameter NOT a shared parameter? If I leave the groupName input empty, the parameter is never created.

i still dont see an answer to this very eminent question by @BIMextension : What if you dont want to make a shared parameter?

---

<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:** [September 19, 2018, 8:24pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/14 "2018-09-19T20:24:29Z")

</div>

Best to make a new topic. Things have changed a lot in the year+ since this topic was last reviewed and this thread already has a solution marked.

---

<div class="post-metadata">

**Author:** ![amilane](https://avatars.discourse-cdn.com/v4/letter/a/dbc845/32.png) [@amilane](https://forum.dynamobim.com/u/amilane)\
**Post date:** [January 9, 2019, 9:43am UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/15 "2019-01-09T09:43:03Z")

</div>

Input empty string to groupName, like this - “”, for creating project parameter.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/f/bf257cf4bcf2282b3a5ad57741682d94b2377222.png)  
Oops… This way creating Shared parameters without shared parameters file… and it can create parameters with same name.  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/5/d5d1ff65c6cba5df502300badf960d99967e5167.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:** [January 31, 2020, 7:53pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/16 "2020-01-31T19:53:43Z")

</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) it adds the same parameter again.

 ![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)

---

<div class="post-metadata">

**Author:** ![JPParker](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@JPParker](https://forum.dynamobim.com/u/JPParker)\
**Post date:** [March 18, 2020, 5:45pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/17 "2020-03-18T17:45:59Z")

</div>

You’ll have to check for the parameter, if it exists, if it does, do nothing, or if not create.  
If.exists node will toggle a IF node, you’ll put the **Parameter.CreateProjectParameter** to the false input, and just terminate the script if true.

---

<div class="post-metadata">

**Author:** ![JPParker](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@JPParker](https://forum.dynamobim.com/u/JPParker)\
**Post date:** [March 18, 2020, 5:48pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/18 "2020-03-18T17:48:21Z")

</div>

I’m a day or so out from writing a pretty big loop doing this, I’ll posts the nodes when it’s done.

---

<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:** [April 17, 2020, 1:34pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/19 "2020-04-17T13:34:37Z")

</div>

that is awesome let me know if I can help

---

<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, 5:12pm UTC](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143/20 "2020-07-08T17:12:42Z")

</div>

just got back to work from the pandemic. did you ever get anywhere with the loop?

[Next page](https://forum.dynamobim.com/t/parameter-createprojectparameter/6143.md?page=2)
