用户单击与Central同步后如何获取Revit数据模型

问题描述 投票:0回答:1

当用户使用 Synchronize with Central 而不发布模型时,我们如何使用 Autodesk Platform Services API 来获取数据?

enter image description here

我想在发布模型之前获得工程数据的早期阶段。我想知道用户点击按钮后数据发送到哪里,如何获取?

任何帮助表示赞赏!

autodesk-forge autodesk-designautomation
1个回答
0
投票

要在发布云模型之前获取同步的模型内容,我们只能使用Revit Cloud Model API通过Revit Desktop或Design Automation打开同步的模型,就像云工作共享模型上的正常操作一样。

var cloudModelPath = ModelPathUtils.ConvertCloudGUIDsToCloudPath(inputParams.Region, inputParams.ProjectGuid, inputParams.ModelGuid);
Document doc = rvtApp.OpenDocumentFile(cloudModelPath, new OpenOptions());

参考:https://aps.autodesk.com/blog/design-automation-api-supports-revit-cloud-model

© www.soinside.com 2019 - 2024. All rights reserved.