I have a few scripts which they need to open Revit files in background, but they don’t work on the Revit files which are on BIM360. I tried Autodesk Desktop and it doesn’t work as well.
I’m just wondering if it is possible to read files on BIM360 or not? or is there any node to give directory path from BIM360 (or Autodesk Desktop)?
I am not sure about how to actually implement it, but support for opening cloud models was added in the Revit 2019 API version.
See the relevant ModelPathUtils and ModelPath classes. I don’t currently have access to Revit so I can’t test anything myself and can’t give specific guidance (such as how to actually determine the project and model Guids) but this should at least provide a starting point.
As a heads up: DO NOT attempt to open a cloud workshared project via desktop connector, double do not attempt this via an API method. That is an express lane to many various problems with cloud projects, as it removes any degree of worksharing if/when it actually allows you to work on the file. Bad things in all cases.
Your project and model GUIDs can be found in your Revit journals and/or collaboration cache.
Typically bulk processing of models (as it sounds like you are doing here) is best accomplish via Forge.
Thank you so much for your reply.
Unfortunately, I haven’t got your point if there is any solution for that or not.
I appreciate if you could please explain it more.
The file you see in the Desktop connector is actually a zip file (even if it has extension .rvt). So as long as you have the latest cached file and depending what operation your scripts are performing, you can still access the file in background. You need to just unzip it first
Hi all, I was able to get pretty far with this article, and the other info in this post. Has anyone had an issue where the “Open Model” dialog does not go away after Dynamo is done opening a cloud model? Dynamo still works and I can edit and rerun the script, but this dialog box locks up Revit itself. Has anyone run into this and solved it?