# Python Help - Family from FamilyType

**URL:** <https://forum.dynamobim.com/t/python-help-family-from-familytype/20574>\
**Category:** Uncategorized\
**Created:** [March 30, 2018, 4:32am UTC](https://forum.dynamobim.com/t/python-help-family-from-familytype/20574 "2018-03-30T04:32:32Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [March 30, 2018, 1:35pm UTC](https://forum.dynamobim.com/t/python-help-family-from-familytype/20574/3 "2018-03-30T13:35:21Z")

</div>

Just like @T_Pover said, you’re currently getting family instances. You can filter for family types though, then convert those to families.

```
import clr
clr.AddReference("RevitNodes")
import Revit
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
doc = DocumentManager.Instance.CurrentDBDocument

dataEnteringNode = IN
collector = FilteredElementCollector(doc)
collector.OfCategory(BuiltInCategory.OST_PlumbingFixtures)
collector.OfClass(FamilySymbol)
types = collector.ToElements()
families = set()
for type in types:
	families.add(type.Family)
families = list(families)

OUT = families
```

---

_[View the full topic](https://forum.dynamobim.com/t/python-help-family-from-familytype/20574)._
