Are any of the Forge APIs able to tell me the version of the software that created that created file

时光毁灭记忆、已成空白 提交于 2019-12-25 01:45:58

问题


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


回答1:


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 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.


来源:https://stackoverflow.com/questions/49141340/are-any-of-the-forge-apis-able-to-tell-me-the-version-of-the-software-that-creat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!