ISSUE! Changes in Revit not updating in Dynamo in automatic run, unless reconnecting nodes everytime


I’m using FamilyType.CompoundStructureLayers (clockworks) to read material ‘mark’ from wall layers. In Revit, changes made to the layer material are not being updated automatically in Dynamo running Automatic mode. I have to manually disconnect and reconnect nodes at elementType to refresh the incoming data. How to fix this issue? Any help would be appreciated.

Doesn’t matter if you’re in automatic or manual mode, the graph would only re-execute if a node is marked as “dirty”. Only a few built in nodes from the Revit > Selection tab are tied in to Revit’s event system and detect document changes:

They would then in turn only refresh nodes connected downstream from them.

While automatic mode and re-execution is great for small and simple graphs, it can quickly become impractical for larger graphs and big models.