Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.3k views
in Technique[技术] by (71.8m points)

autodesk forge - Save a workshared model as a cloud model to BIM360

Is it possible to save a workshared model to BIM360 as a workshared cloud model using Revit API and/or Forge API ?

I have multiple models that I wish to upload on BIM360, but from what I see the SaveAsCloudModel method that is currently available in Revit 2021 API and described in this post only works with non-workshared models. Is there any other method ?

question from:https://stackoverflow.com/questions/65932889/save-a-workshared-model-as-a-cloud-model-to-bim360

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

The SaveAsCloudModel function is available since Revit 2019.2, and you can follow my code snippet shared here to activate the cloud worksharing:

https://thebuildingcoder.typepad.com/blog/2019/11/initiating-bim360-collaboration-and-linking.html

BTW, you need to install the Revit 2019.2 service package before coding.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...