# Create Shared parameter for all categories with dynamo through Excel

**URL:** <https://forum.dynamobim.com/t/create-shared-parameter-for-all-categories-with-dynamo-through-excel/92798>\
**Category:** Revit\
**Tags:** revit, excel, dynamo\
**Created:** [August 11, 2023, 5:54am UTC](https://forum.dynamobim.com/t/create-shared-parameter-for-all-categories-with-dynamo-through-excel/92798 "2023-08-11T05:54:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [August 11, 2023, 7:02am UTC](https://forum.dynamobim.com/t/create-shared-parameter-for-all-categories-with-dynamo-through-excel/92798/2 "2023-08-11T07:02:39Z")

</div>

@khalil.noureddine ,

that topic can help…

> [@How to assign a Shared Parameter as a Project Parameter (Group and Category)?!](https://forum.dynamobim.com/t/how-to-assign-a-shared-parameter-as-a-project-parameter-group-and-category/60278):
>
> Hi there, I have created a Shared Parameter. Now, I would like to add this Shared Parameter as a Project Parameters, define its Group Parameter (SET) as well as its Category (Sheets). This was the simplified version of the routine I need to solve, which is: I have created MANY shared parameters and now I need to add them one by one to the template and that will take a tedious amount of time! This way I am hoping to do it by Dynamo!! Thanks!

I think you can all categories as a list…!

f.e.

```auto
import clr

# Import DocumentManager and TransactionManager
clr.AddReference("RevitServices")
import RevitServices
from RevitServices.Persistence import DocumentManager

# Import RevitAPI
clr.AddReference("RevitAPI")
import Autodesk
from Autodesk.Revit.DB import *

doc = DocumentManager.Instance.CurrentDBDocument

OUT = [i.Name for i in doc.Settings.Categories]

```

KR

Andreas

---

_[View the full topic](https://forum.dynamobim.com/t/create-shared-parameter-for-all-categories-with-dynamo-through-excel/92798)._
