Has anybody experienced this whilst using the Rhythm package to “uprev” models (i.e from Revit 2019 to Revit 2022).
When the dynamo definition is ran the models are opened in the background I believe, because I can see the conversion from 2019 to 2022, but it doesn’t want to save back over the top of them.
I have tried the files in other locations incase it was a server access based issue.
It appears you are saving to one drive, I am going to bet that is part of the issue if the files are not set to be “available offline”.
Honestly, for these kind of workflows I tend to work on a folder on my desktop directly, then I copy the files over to where they go. (in your case, onedrive)
I am attempting to yes. The idea is we have a parent models and all the revit links within it that need upgrading from one version of Revit to the other.
In the first definition (in the older version of Revit) I export to an excel file the paths of all links within the parent. In addition I was saving a copy of these files to an archive location.
In the second definition (this one) I attempt to detach these models, upgrade them, then save them as centrals back on top of where they were.
Hmm… if graph #1 already gathered the documents, opened the files and did a save as of each why do you need to open detached in graph #2? Unless I’m missing something Opening in the new version and saving the file should do the trick.
You might also be able to skip graph #2 if you have an existing and ongoing archive process in place, and then you can utilize the TransmissionData class of the Revit API to gather what you are after. This code is used in the ETranmit tool in Revit (which may be an effective alternative to part of the Dynamo workflow). I do not know of any packages which utilize it, so you would have to utilize Python or C# to develop some new tools, but it could cut your overall workload in half.
+1 to John’s mention of working in a much more accessible location, whether it be Desktop or similar. OneDrive has introduced some level of complication here depending on the workflow, but it tends to be reliable for bulk processing versus gambling on server latency/stability. In that video tutorial I worked off Desktop for that reason also.
“Hmm… if graph #1 already gathered the documents, opened the files and did a save as of each why do you need to open detached in graph #2? Unless I’m missing something Opening in the new version and saving the file should do the trick.”
I have them as separate graphs because the first one is there to find the links and copy them to an archived location in the original version (i.e Revit 2019). If I run the definition in Revit 2021 it tries to upgrade them first. I have attached the two definitions in case you wanted to take a look.
" you can utilize the TransmissionData class of the Revit API to gather what you are after. This code is used in the ETranmit tool in Revit (which may be an effective alternative to part of the Dynamo workflow). I do not know of any packages which utilize it, so you would have to utilize Python or C# to develop some new tools, but it could cut your overall workload in half."
I will have to look into what e-transmit can do for us as my programming skills for Python or C# aren’t up to scratch yet.
Ah that makes sense now too. The save as option doesn’t have all the same options as the save on the Rhythm nodes. I added that logic to it as well.
For reference, when I made those nodes I had not thought of making them work on central models as that gets weird quick. But it should work once I push the latest update.