【问题标题】:How can I use Autodesk Forge APIs to extract metadata from an uploaded AutoCAD file into a web aplication?如何使用 Autodesk Forge API 将上传的 AutoCAD 文件中的元数据提取到 Web 应用程序中?
【发布时间】:2021-05-08 00:26:45
【问题描述】:

我想上传一个dwg文件并提取所有平面信息的信息(如表面、区域、属性、标签等)。

我该怎么办?我应该使用哪个 API 来做到这一点?

提前致谢。

【问题讨论】:

    标签: api autodesk-forge autocad autodesk


    【解决方案1】:

    通过 Forge 的 Model Derivative API,将提取模型对象的一些通用数据。通过GET:Properties endpoint,或者在Forge Viewer中加载模型后,viewer.getProperties ()等一些函数会将数据作为属性返回。

    如果属性中的数据不可用,您可能需要自己编写 AutoCAD 插件以通过 AutoCAD API 提取信息。如果您需要构建云解决方案而不需要在本地AutoCAD上运行插件,可以通过Forge Design Automation of AutoCAD执行该插件。

    【讨论】:

      猜你喜欢
      • 2021-10-15
      • 2017-08-14
      • 2020-11-14
      • 2017-01-12
      • 2020-11-30
      • 2019-03-24
      • 2018-10-11
      • 2019-11-29
      • 2017-05-26
      相关资源
      最近更新 更多