是否有任何Forge API能够告诉我创建该文件的软件的版本 [英] Are any of the Forge APIs able to tell me the version of the software that created that created file

查看:54
本文介绍了是否有任何Forge API能够告诉我创建该文件的软件的版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我上传Revit文件,任何API都可以告诉我该文件是用哪个版本创建的吗?与dwg,3ds和任何其他文件相同.谢谢

If I upload a Revit file can any API tell me what version it was created with? Same for dwg, 3ds and any other file. Thanks

推荐答案

伪造

Forge Design Automation APIs might help this case, you can use cloud engines of Autodesk product (such as AutoCAD, Revit, Inventor, etc.) to read file details. What you have to do is writing some tiny add-ins to read software version stored in the file.

此外,您还可以使用一些第三方工具来归档相同的目标:

Besides, you can use some third-party tools to archive the same goal as well:

  1. RVT文件实际上是一个OLE文档,您可以使用 .NET的OLE库读取RVT中的软件版本,请检查此博客
  1. RVT file is actually an OLE document, you can use OLE library for .NET to read software version inside RVT, please check this blog Basic File Info and RVT File Version from Jeremy.
  2. The DWG can be read as a text file, you can use the regular expression to extract the version number out, please refer here.

这篇关于是否有任何Forge API能够告诉我创建该文件的软件的版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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