【发布时间】:2013-01-07 01:07:13
【问题描述】:
在 Revit API 中,我知道我可以获得当前正在运行的 Revit 实例的版本 (ControlledApplication.VersionBuild,ControlledApplication.VersionName,ControlledApplication.VersionNumber)。但是,我想在打开 Revit 文件之前获取它本身的版本。这样,当用户在较新版本的 Revit 中打开较旧的 Revit 文件时,我可以停止自动升级对话框。我正在使用 Revit 2013 并期待 2011、2012 和 2013 年的文件。
【问题讨论】:
-
解决方案已经在 Building Coder thebuildingcoder.typepad.com/blog/2013/01/… :)
-
请参阅notion.so/Developer-Docs-2c88f3ecccde422d9504e20b6b9e04f8 中的“揭秘 Revit 文件内容”部分