Dear all,
I am trying to use the periodic run to read from external text file and write to the same. but it only read/write at 1st run. any idea !
Regards,
Mohammad Nawar
Dear all,
I am trying to use the periodic run to read from external text file and write to the same. but it only read/write at 1st run. any idea !
Regards,
Mohammad Nawar
Add a node that will refresh (date time now), and use that to trigger a recalculation of the file name to cause a refresh of the nodes downstream.
Can you show me an example how to refresh the node since it does not have input. l am a little lost
In a code block
{ filePath, dateNow }[0]
If you are running Dynamo 2.0, lists were changed to brackets instead of {}. Try [ filePath, dateNow ][0];
Thank you all
Side-note… If the workflow you are showing here is what you’re doing you should add a “[Waitfor,pass][1]” in between filepath and writetext as you want the rest to complete before writing back to the file!
EDIT:
Added the “Complete” picture
Thank you for the tip and noted
@Mohammad_Nawar, please post or mark a complete solution (ideally incorporating the input from @Jonathan.Olesen as well) so that others can learn from this post in the future.
Thanks!
already did that before but i can accept only one solution but anyway it been given for @Jonathan.Olesen
FYI, added the “complete” picture to my other post