【imodel】转换出错

老师好,我在revit中做的模型,利用图中 这个转换软件,导出imodel的时候出现了图中下面的错误 显示发布失败,这是怎么回事呢?

Parents
  • 请打开生成的错误log文件先自行分析一下原因。看提示是当前文档不可修改,是否文档所在文件夹普通用户不能写入?请改用管理员权限启动您的Revit软件后再尝试发布。



  • 符工,我利用管理员身份打开了Revit软件再尝试发布还是不行,按照上面出错的原因,我找到了log文件,如下

    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模型的问题。



Reply Children