通过命令行打开Revit

通过命令行打开Revit

本文介绍了通过命令行打开Revit BIM360模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人通过命令行成功打开了云模型吗?我可以通过传递文件路径来打开非云模型,但是我不确定您将如何打开非本地模型.

Has anyone successfully opened a cloud model via the command line? I can open a non-cloud model by passing the file path, but I'm not sure how you would open something non-local.

推荐答案

Revit 2020 API引入了打开在BIM360中托管的云模型的可能性.打开/在 Revit 2020 API中的新增功能.

The Revit 2020 API introduced the possibility to open a cloud model hosted in BIM360, cf. Open/Save/Modify cloud models on BIM 360 in What's New in the Revit 2020 API.

The Building Coder在 IOpenFromCloudCallback DefaultOpenFromCloudCallback .

Another aspect of this new functionality is discussed by The Building Coder on the IOpenFromCloudCallback and the DefaultOpenFromCloudCallback class.

您可以在自己的外接程序中使用新功能,为 ApplicationInitialized 事件,以通过命令行或其他方式(例如,读取指定云模型的输入文件)将信息传递给云模型来打开云模型打开路径.

You could use the new functionality in your own add-in implementing a handler for the ApplicationInitialized event to open a cloud model by passing in information to it either via the command line or by other means, e.g., reading an input file specifying the cloud model path to open.

这篇关于通过命令行打开Revit BIM360模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-28 15:39