# Reading Family Types from Revit issue

**URL:** <https://forum.dynamobim.com/t/reading-family-types-from-revit-issue/16975>\
**Category:** Revit\
**Tags:** revit, excel, dynamo\
**Created:** [November 30, 2017, 7:43am UTC](https://forum.dynamobim.com/t/reading-family-types-from-revit-issue/16975 "2017-11-30T07:43:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PauLtus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paultus/32/48502_2.png) [@PauLtus](https://forum.dynamobim.com/u/PauLtus)\
**Post date:** [November 30, 2017, 7:43am UTC](https://forum.dynamobim.com/t/reading-family-types-from-revit-issue/16975/1 "2017-11-30T07:43:42Z")

</div>

I’m busy creating a script to create and delete family types in Revit and alter their parameters.

The last part is done, altering parameters wasn’t that much of a problem and I have a system now to efficiently do so.

I’ve run into a problem with creating and deleting types, especially the latter, which I think is bound to how Revit does its saving and it’s problematic for my script.

To find out which files I’m supposed to create and delete, I’m reading out which files exist in the excel file and which exist in the Revit file. However, Dynamo only sees the Revit family Types that existed when I opened the Revit file. Which means, that if I wanted to see a Family Type that didn’t exist when I opened it, I simply can’t get Dynamo to see that file.

Weirdly, when it comes to setting parameter values it’s no issue, nor has it been an issue when creating new types (except when I then delete types in revit).

Thanks in advance!

I’m using Revit 2015 by the way (as that’s apparantly as old a version as the people who should eventually be using this script will be using)

---

<div class="post-metadata">

**Author:** ![awilliams](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/awilliams/32/114496_2.png) [@awilliams](https://forum.dynamobim.com/u/awilliams)\
**Post date:** [November 30, 2017, 7:58am UTC](https://forum.dynamobim.com/t/reading-family-types-from-revit-issue/16975/2 "2017-11-30T07:58:13Z")

</div>

I can’t be certain because I do not know what your graph currently looks like, but based on your description, this may be a possible explanation/solution:

> [@Dynamo Scripts not updating output functions when a change is made in Revit](https://forum.dynamobim.com/t/dynamo-scripts-not-updating-output-functions-when-a-change-is-made-in-revit/14218/2):
>
> This is because Dynamo doesn’t update many nodes unless an input changes, which is almost a requirement to develop scripts for large datasets. Adding a true/false, number slider input or other easily adjustable input in conjunction with a list.create and list.first item early in the graph will allow a toggle to force a refresh. I believe that Clockwork also has a node for this.

If this doesn’t provide you with a solution please upload a screen caputre of your graph 🙂

---

<div class="post-metadata">

**Author:** ![PauLtus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paultus/32/48502_2.png) [@PauLtus](https://forum.dynamobim.com/u/PauLtus)\
**Post date:** [November 30, 2017, 8:11am UTC](https://forum.dynamobim.com/t/reading-family-types-from-revit-issue/16975/3 "2017-11-30T08:11:31Z")

</div>

Thank you!

A simple arbitrary update solves this.

I would’ve added a graph if I expected it would add anything, but it’s a problem that exists regardless of the way I was reading.
