通过命令行打开 Revit BIM360 模型 [英] Open Revit BIM360 Model via command line

查看:26
本文介绍了通过命令行打开 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 在 IOpenFromCloudCallbackDefaultOpenFromCloudCallback.

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 模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆