# Shared Parameter: Values can vary by group instance

**URL:** <https://forum.dynamobim.com/t/shared-parameter-values-can-vary-by-group-instance/5882>\
**Category:** Packages\
**Tags:** revit, archi-lab, dynamostudio\
**Created:** [August 29, 2016, 1:30pm UTC](https://forum.dynamobim.com/t/shared-parameter-values-can-vary-by-group-instance/5882 "2016-08-29T13:30:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thurevit3](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thurevit3/32/51807_2.png) [@thurevit3](https://forum.dynamobim.com/u/thurevit3)\
**Post date:** [August 29, 2016, 1:30pm UTC](https://forum.dynamobim.com/t/shared-parameter-values-can-vary-by-group-instance/5882/1 "2016-08-29T13:30:37Z")

</div>

I created a new shared parameter with Dynamo and added it to my project with _Archi-Lab Grimshaw_ package  
Everything worked perfect except the new parameter is created standard as **Values are aligned per group type**  
How can i set this in Dynamo so i can Choose between **Values are aligned per group type** and **Values can vary by group instance**?

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/1/16237f30d16c68fb9951384801da65bd301dd940.PNG)

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/2/2658d6f249686362795a4cbe7f162d66c391063a.PNG)

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [August 30, 2016, 8:55am UTC](https://forum.dynamobim.com/t/shared-parameter-values-can-vary-by-group-instance/5882/2 "2016-08-30T08:55:43Z")

</div>

Hi Loek,

You need to access Revit API for this:

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

---

<div class="post-metadata">

**Author:** ![thurevit3](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thurevit3/32/51807_2.png) [@thurevit3](https://forum.dynamobim.com/u/thurevit3)\
**Post date:** [August 30, 2016, 9:28am UTC](https://forum.dynamobim.com/t/shared-parameter-values-can-vary-by-group-instance/5882/3 "2016-08-30T09:28:44Z")

</div>

Thanx Kulkul  
But i don’t know how to set up a script like that in python

---

<div class="post-metadata">

**Author:** ![thurevit3](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thurevit3/32/51807_2.png) [@thurevit3](https://forum.dynamobim.com/u/thurevit3)\
**Post date:** [August 30, 2016, 11:59am UTC](https://forum.dynamobim.com/t/shared-parameter-values-can-vary-by-group-instance/5882/4 "2016-08-30T11:59:34Z")

</div>

My collegue found the solution, what works for us.  
Create the Parameter with the _Archi-Lab Grimshaw_ package.  
the Shared Parameter is in the Python script at paramName  
After SetAllowVaryBetweenGroups you can fill in 1 or 0

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/f/f2ee960adb47017be61f0ec32c5e07f3ed5b31ac.PNG)  
 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/e/e6f7211b3e7f32f1ae04648d1deb89502898e6ad.PNG)
