# Shared Parameters - Create and add to Family in Python

**URL:** <https://forum.dynamobim.com/t/shared-parameters-create-and-add-to-family-in-python/88081>\
**Category:** Revit\
**Tags:** python\
**Created:** [April 1, 2023, 8:45pm UTC](https://forum.dynamobim.com/t/shared-parameters-create-and-add-to-family-in-python/88081 "2023-04-01T20:45:39Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![SeanP](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/seanp/32/42560_2.png) [@SeanP](https://forum.dynamobim.com/u/SeanP)\
**Post date:** [April 2, 2023, 1:53pm UTC](https://forum.dynamobim.com/t/shared-parameters-create-and-add-to-family-in-python/88081/9 "2023-04-02T13:53:20Z")

</div>

Ok, here are a couple things to help.

> [@Dynamo 2.13 Get all Spec Types](https://forum.dynamobim.com/t/dynamo-2-13-get-all-spec-types/77477/2):
>
> Hi, here an example import clr import sys #import Revit API clr.AddReference('RevitAPI') import Autodesk from Autodesk.Revit.DB import \* prop\_infos = clr.GetClrType(SpecTypeId).GetProperties() dict\_forgeTypeId = {p.Name : p.GetGetMethod().Invoke(None, None) for p in prop\_infos} OUT = dict\_forgeTypeId there may be a simpler method without going through .Net reflection

I don’t have access to the graph right now, but here are images.

 ![image_f118c89c-0fc2-421f-8a69-20b085ccf94820230402_085213](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/0/90b972d14a307953577a4f148d3fb855b05a0cb2.jpeg)

 ![image_6ba30e4d-f108-47bf-878d-c9aa804111af20230402_085222](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/5/1543e467a773d1bb20e66e661b58d0a29276479c.jpeg)

 ![image_0d29bb42-401d-4e07-9838-da8dc2f0a46520230402_085231](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/b/3b0218688418637059384842ef746003237c19cd.jpeg)

 ![image_92ba018f-3c2b-4bd1-9342-c62f66ae9fa620230402_085239](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/b/fb01cd17ec6c3fd3a3597607c58dc33a21677368.jpeg)

---

_[View the full topic](https://forum.dynamobim.com/t/shared-parameters-create-and-add-to-family-in-python/88081)._
