# How does Dynamo recompute Revit changes

**URL:** <https://forum.dynamobim.com/t/how-does-dynamo-recompute-revit-changes/2890>\
**Category:** Developers\
**Tags:** revit\
**Created:** [January 11, 2016, 12:11am UTC](https://forum.dynamobim.com/t/how-does-dynamo-recompute-revit-changes/2890 "2016-01-11T00:11:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul\_Wintour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paul_wintour/32/9381_2.png) [@Paul\_Wintour](https://forum.dynamobim.com/u/Paul_Wintour)\
**Post date:** [January 11, 2016, 12:11am UTC](https://forum.dynamobim.com/t/how-does-dynamo-recompute-revit-changes/2890/1 "2016-01-11T00:11:50Z")

</div>

Hi

I have some simple scripts which modify revit elements, namely renumbering doors based on room numbers. It works fine. But once you modify the room number directly in Revit, it doesn’t matter if Dynamo is set to automatic or manual, the door numbering doesn’t update. The only way I have found for Dynamo to recompute the Revit information is to re-wire it up or close and reopen Dynamo. This is obviously painful.

So my question is this - how and when does Dynamo read Revit information? Does this happen to all scripts or only those ones with Python nodes? It seems others have experienced the same issue:

[http://dynamobim.org/forums/topic/wall-element-collector-not-updating/](http://dynamobim.org/forums/topic/wall-element-collector-not-updating/)

[http://dynamobim.org/forums/topic/room-occupancy-area-not-updating/](http://dynamobim.org/forums/topic/room-occupancy-area-not-updating/)

&nbsp;

Thanks

---

<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:** [January 11, 2016, 1:14am UTC](https://forum.dynamobim.com/t/how-does-dynamo-recompute-revit-changes/2890/2 "2016-01-11T01:14:33Z")

</div>

Hi Paul,

It works fine for me see below screen video.

 ![test](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/6/687621f57406ddf7120dbb4cdb44cee48954fb68.gif)

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [January 11, 2016, 1:22am UTC](https://forum.dynamobim.com/t/how-does-dynamo-recompute-revit-changes/2890/3 "2016-01-11T01:22:36Z")

</div>

This issue has been reported and discussed [here](https://github.com/DynamoDS/Dynamo/issues/4603) ( [Need a setting for custom nodes to force execution on re-run](https://github.com/DynamoDS/Dynamo/issues/4603) )

There is a setting that indicates which nodes are scheduled for execution.

While not a solution to your problem, it might help.

 ![20160111-5](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/1/1a6d090bc9375a2fd084a1b23eee26e8d0d5a7df.png)

---

<div class="post-metadata">

**Author:** ![Konrad\_K\_Sobon](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/konrad_k_sobon/32/8838_2.png) [@Konrad\_K\_Sobon](https://forum.dynamobim.com/u/Konrad_K_Sobon)\
**Post date:** [January 11, 2016, 8:50am UTC](https://forum.dynamobim.com/t/how-does-dynamo-recompute-revit-changes/2890/4 "2016-01-11T08:50:13Z")

</div>

It’s the Python nodes that you have to FORCE to refresh. It’s been an issue for a while. I don’t see how you can’t just add a simple Boolean Toggle somewhere at the beginning of your definition and that will force everything downstream to refresh.

---

<div class="post-metadata">

**Author:** ![Paul\_Wintour](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paul_wintour/32/9381_2.png) [@Paul\_Wintour](https://forum.dynamobim.com/u/Paul_Wintour)\
**Post date:** [January 11, 2016, 10:55pm UTC](https://forum.dynamobim.com/t/how-does-dynamo-recompute-revit-changes/2890/5 "2016-01-11T22:55:29Z")

</div>

Thanks guys. I’ve added in a Boolean toggle as suggested. Its not perfect but it will do until the Dynamo team can fix it.
