Can I pull/push a file out of Revit and into an environment like Miro?

Can I pull/push a file out of Revit and into an environment like Miro?

n64battle
Community Visitor Community Visitor
232 Views
2 Replies
Message 1 of 3

Can I pull/push a file out of Revit and into an environment like Miro?

n64battle
Community Visitor
Community Visitor

Hello!

Does anyone know if I can pull or push a file out of Revit and move it to a different place, like Miro for further collaboration?

Is it possible to move your file from Revit and does anyone know which Revit API would need to be called?

(The question is less about miro and more about, "am I able to pull/push a file out of Revit? If it is possible to do that, I'm wondering what API I would leverage).

❤️

 

Thank you ☺️☺️☺️

233 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni

Sure you can. The Document class provides a number of different methods to save a file to hard disk:

 

https://www.revitapidocs.com/2023/9a38d78f-5d4f-b59b-52b4-197017d2038a.htm

  

You can push and pull the resulting binary file as much as you like.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 3

caroline.gitonga
Autodesk
Autodesk

Hi @n64battle,

It sounds to me like you are looking for a possible way to allow collaboration on your Revit model among your team members (correct me if am wrong). Revit provides such capability using Revit Cloud Worksharing: a cloud-based service that allows any Revit users inside or outside a network to collaborate on a Revit model.

You may read more of this here : https://forums.autodesk.com/t5/revit-api-forum/can-i-pull-push-a-file-out-of-revit-and-into-an-envir...

Revit provides EnableWorksharingMethod : https://www.revitapidocs.com/2023/7c29717e-1d8c-4e02-20ad-65c53ea8eaaa.htm

Revit document also provides Document method : SaveAsCloudModel Method (Guid, Guid, String, String) to initiate cloud collaboration for non-workshared or workshared model.

https://www.revitapidocs.com/2023/2fd26edf-b1f8-905b-e5d7-b56eaa2a2eeb.htm

You may refer to this previous forum thread that touches a bit on the issue.

https://forums.autodesk.com/t5/revit-api-forum/initiate-cloud-collaboration-for-a-workshared-model/t...

Let me know if this information helps or I have totally missed the point.

Carol Gitonga, Developer Advocacy and Support, ADN Open