老师好,我在revit中做的模型,利用图中这个转换软件,导出imodel的时候出现了图中下面的错误显示发布失败,这是怎么回事呢?
请打开生成的错误log文件先自行分析一下原因。看提示是当前文档不可修改,是否文档所在文件夹普通用户不能写入?请改用管理员权限启动您的Revit软件后再尝试发布。
符工,我利用管理员身份打开了Revit软件再尝试发布还是不行,按照上面出错的原因,我找到了log文件,如下 Fullscreen Revit.SaveAs.Bentley.imodel.log Download 2020-01-09 09:41:34,461 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 09:41:34,476 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document! 2020-01-09 09:50:12,363 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 09:50:12,367 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document! 2020-01-09 09:53:13,346 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 09:53:13,350 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document! 2020-01-09 09:53:34,616 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 09:53:34,621 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document! 2020-01-09 10:29:24,107 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 10:29:24,122 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document! 2020-01-09 10:42:02,487 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 10:42:02,491 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document!
2020-01-09 09:41:34,461 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 09:41:34,476 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document! 2020-01-09 09:50:12,363 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 09:50:12,367 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document! 2020-01-09 09:53:13,346 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 09:53:13,350 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document! 2020-01-09 09:53:34,616 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 09:53:34,621 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document! 2020-01-09 10:29:24,107 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 10:29:24,122 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document! 2020-01-09 10:42:02,487 [1] ERROR - Revit.ExportDWG - Export failed with exception: Autodesk.Revit.Exceptions.ModificationForbiddenException: Illegal attempt to modify document. Reason: Changes are disabled for the active document! �� apiManagedApplicationRaiseException(ApplicationException* e) �� AreaPlanTopologiesInterface.initHandleAddPlan(AreaPlanTopologiesInterface* , ElementId , LevelPlanTopologyHandle* , Boolean , HostOrLinkElementPredicate* , Double ) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId schemeId, ElementId levelId, ElementId phaseId, ElementId optionId, LevelPlanTopologyHandle* handle) �� APIUtility.getPlanTopology(ControlledConstDocAccess* doc, ElementId levelId, ElementId phaseId) �� ?A0x99203a9c.getPlanTopology(Level level, Phase phase, ADocument* pADoc) �� Autodesk.Revit.DB.Document.get_PlanTopologies(Phase phase) �� Autodesk.Revit.DB.Document.get_PlanTopologies() �� Revit.DwgDgnConverter.ExportData.Export(String hostInfo, ProgressManager man) 2020-01-09 10:42:02,491 [1] ERROR - Revit.ExportDWG - Export failed, inner exception text: Illegal attempt to modify document. Reason: Changes are disabled for the active document!
1、请检查您安装的imodel plugin for Revit版本是否和您使用的Revit软件版本匹配;
2、请换用一个更简单的Revit模型测试一下。这样可以得知是插件的问题还是我们创建的Revit模型的问题。
好的
符工,问题1中怎么确定插件对应软件版本呢?
我从如下链接查到的这个插件是支持Revit 2016到2018。请检查一下你的Revit版本是在这个范围内吗?
https://store.bentley.com/en/products/iware/1000IMPR--i-model-plug-in-for-Revit
哦 现在使用的是revit16版本,刚才我同事重新做了一个简单的模型,使用该插件发布还是没有成功
请按我的链接重新下载插件安装试一下。我怀疑你安装的插件是否是这个最新的。