Dynamo 1.0.0.1180
Windows 10 and 7
Dynamo node seems saves it's calculated result as a cache. And it prevents from re-running from same input.
But dynamo can't see an update of related application such as Revit so this cache mechanism sometimes acts on the dangerous side for system.
It would be better that there is a setting to run whole node every time.
Thank and regards,
Yoji Takahashi
hi @birdland007s , actually there is an option to do that, though it doesn't execute all nodes _every time_. If the run mode is switched to Manual, you can force Dynamo to run all nodes through this menu item:

but you'll have to build from source and use sandbox to use this option I think?
This is by design. We enable third parties to create libraries which force re-execution. But it is not the preferred mode for execution. @birdland007s, can you give an example where you need to force a reexecution of a node?
@ikeough I've got some 馃槣
Thanks all and sorry for this late replay.
@ikeough, the node, which I want to re-execute eveytime, is Python Script.
The script reads Revit objects and gets their attributes.
The attributes is cooked after that following nodes.
I can understand this is by design, that is, it is difficult to always re-execute in the situation which Dynamo works together with unspecified apps. But I also think it is possible to implement re-execution mode as standard function on the limited condition and nodes. It is enough for me that re-executed nodes are only user specified node and Manual mode.
Best regards,
Yoji
Also see #3273 & #4603
@mjkkirschner I believe we can add this through a method attribute. Something like [AlwaysReexecute].
exactly what I was thinking!
@birdland007s We will need to do some design to provide a way for the python node to continually re-execute. I do not want to add continuous re-execution to the python node, by default because the python node gives you the power to write a script to do anything including long-running operations that you don't want to execute every time if you can avoid it.
The end result would be similar to some improvements to the python node requested in #3378, regarding using comments in the python node to trigger certain functionality.
Agree with you and the list of #3378.
Thanks a lot.
@ikeough @mjkkirschner is it possible to hash the code inside the Python node and execute it if only there has been changes from the last run? Having it to always re-run is not going to be efficient.
Closing this as it is similar to, https://github.com/DynamoDS/Dynamo/issues/4603 & https://github.com/DynamoDS/Dynamo/issues/3273
Most helpful comment
@ikeough I've got some 馃槣