While using the 4.24.3 Datasmith plugin I have been able to export one of my building models. When switching to the 4.25 version I get an error which appears to indicate that a sketch is not forming a closed loop. I've tried iteratively removing elements and attempting to export the model but with no success in finding the culprit or culprits. I removed the 4.25 plugin and reinstalled 4.24.3 and am still able to export without issue.
Strangely enough both version of the Datasmith plugin work absolutely fine with the out-of-the-box sample Revit projects. There's something in my model causing this however I can't locate it. Would it be possible to surface the element set to the error dialog box? Below is a snippet from my journal file.
Strangely enough both version of the Datasmith plugin work absolutely fine with the out-of-the-box sample Revit projects. There's something in my model causing this however I can't locate it. Would it be possible to surface the element set to the error dialog box? Below is a snippet from my journal file.
Code:
' 0:< ::210:: Delta VM: Avail -39 -> 134209929 MB, Used +48 -> 1122 MB, Peak +25 -> 1122 MB; RAM: Avail -36 -> 23012 MB, Used +38 -> 1166 MB ' 0:< GUI Resource Usage GDI: Avail 9173, Used 827, User: Used 549 ' 0:< View Open: Element expansion used 0.258537 seconds averaging 0.003042 seconds/hit for 85 hits. 'E 12-May-2020 19:46:23.239; 0:< Jrn.Size 0 , 1575 , 802 'H 12-May-2020 19:46:23.240; 0:< Jrn.Directive "WindowSize" _ , "[SSLC - commercial-2020.rvt]", "3D View: {3D}" _ , 1575, 802 'H 12-May-2020 19:46:23.266; 0:< Jrn.Directive "ProjToPage" _ , "[SSLC - commercial-2020.rvt]", "3D View: {3D}" _ , 405.14125024603783 _ , 405.14125024603783, 0.00000000000000, 0.00000000000000 _ , 0.00000000000000, 405.14125024603783, 0.00000000000000 _ , 0.00000000000000, 0.00000000000000, 405.14125024603783 _ , 0.00000000000000, 0.00000000000000, 0.00000000000000 'H 12-May-2020 19:46:23.266; 0:< Jrn.Directive "ProjToPage" _ , "[SSLC - commercial-2020.rvt]", "3D View: {3D}" _ , 405.14125024603783 _ , 405.14125024603783, 0.00000000000000, 0.00000000000000 _ , 0.00000000000000, 405.14125024603783, 0.00000000000000 _ , 0.00000000000000, 0.00000000000000, 405.14125024603783 _ , 1021.45796931046812, -540.38294194611672, 0.00000000000000 'H 12-May-2020 19:46:23.327; 0:< Jrn.Directive "ProjToPage" _ , "[SSLC - commercial-2020.rvt]", "3D View: {3D}" _ , 405.14125024603800 _ , 405.14125024603800, 0.00000000000000, 0.00000000000000 _ , 0.00000000000000, 405.14125024603800, 0.00000000000000 _ , 0.00000000000000, 0.00000000000000, 405.14125024603800 _ , 1021.45796931046812, -540.38294194611672, 0.00000000000000 'H 12-May-2020 19:46:23.328; 0:< Jrn.Directive "ProjToPage" _ , "[SSLC - commercial-2020.rvt]", "3D View: {3D}" _ , 405.14125024603800 _ , 405.14125024603800, 0.00000000000000, 0.00000000000000 _ , 0.00000000000000, 405.14125024603800, 0.00000000000000 _ , 0.00000000000000, 0.00000000000000, 405.14125024603800 _ , 1021.45796931046766, -540.38294194611638, 0.00000000000000 ' 0:< ::211:: Delta VM: Avail -57 -> 134209873 MB, Used +58 -> 1180 MB, Peak +57 -> 1180 MB; RAM: Avail -30 -> 22982 MB, Used +30 -> 1196 MB ' 0:< GUI Resource Usage GDI: Avail 9166, Used 834, User: Used 552 ' 0.437704 1:<<<;PERF;MISC;drawing 'C 12-May-2020 19:46:23.802; 0:< idle0_doc 'E 12-May-2020 19:46:24.267; 0:< Jrn.RibbonEvent "TabActivated:Add-Ins" 'E 12-May-2020 19:46:25.585; 0:< Jrn.RibbonEvent "Execute external command:CustomCtrl_%CustomCtrl_%Add-Ins%Unreal Datasmith%Export3DView:DatasmithRevitExporter.DatasmithRevitCommand" ' 1:< ::213:: Delta VM: Avail -42 -> 134209831 MB, Used +13 -> 1193 MB, Peak +15 -> 1195 MB; RAM: Avail -31 -> 22952 MB, Used +25 -> 1222 MB ' 1:< GUI Resource Usage GDI: Avail 9096, Used 904, User: Used 574 'C 12-May-2020 19:46:28.541; 1:< printing ' 2.969132!!! 2:!!!BIG_GAP API External Command Time ' 2:< ::213:: Delta VM: Avail -781 -> 134209051 MB, Used +780 -> 1974 MB, Peak +779 -> 1975 MB; RAM: Avail -640 -> 22312 MB, Used +656 -> 1879 MB, Peak +641 -> 1880 MB ' 2:< GUI Resource Usage GDI: Avail 9111, Used 889, User: Used 587 ' 2:< Exception caught from managed method RevitAPI::Autodesk.Revit.DB.XYZ GetCurveEndpoint(Autodesk.Revit.DB.Curve, Int32) <Autodesk.Revit.Exceptions.ArgumentException> <The input curve is not bound. 'Parameter name: curve> 'C 12-May-2020 19:46:46.804; DBG_WARN: Exception thrown from an API exporter. Export cancelled in enum GRenderResults __cdecl VisAPIContext::drawElementNodeBegin(const class GElementRenderNode &). [The input curve is not bound. 'Parameter name: curve]: line 463 of d:\ship\2020_px64\source\interface\interfaceutil\visualization\visapicontext.cpp. ' 18.462816 2:<<<;PERF;MISC;drawing 'C 12-May-2020 19:46:47.029; 1:< view printed ' 0:< ::213:: Delta VM: Avail +446 -> 134209498 MB, Used -500 -> 1474 MB; RAM: Avail +412 -> 22725 MB, Used -420 -> 1459 MB, Peak +8 -> 1889 MB ' 0:< GUI Resource Usage GDI: Avail 9118, Used 882, User: Used 575 ' 4.739537!!! 2:!!!BIG_GAP API External Command Time ' 26.419816 1:<<API External Command Time 'H 12-May-2020 19:46:52.016; 0:< Jrn.Data "APIStringStringMapJournalData" _ , 0 ' 0:< Error posted: ' 0:< Cannot export the 3D view: ' 'The input curve is not bound. 'Parameter name: curve ' ' at Autodesk.Revit.DB.CustomExporter.Export(View view) ' at DatasmithRevitExporter.DatasmithRevitCommand.Execute(ExternalCommandData InCommandData, String& OutCommandMessage, ElementSet OutElements) ' 1:< Invoked HandleDocFailure ' 1:< Error dialog has no callback because 'it was not provided in following error in error message 'Cannot export the 3D view: ' 'The input curve is not bound. 'Parameter name: curve ' ' at Autodesk.Revit.DB.CustomExporter.Export(View view) ' at DatasmithRevitExporter.DatasmithRevitCommand.Execute(ExternalCommandData InCommandData, String& OutCommandMessage, ElementSet OutElements) ' 1:< Error dialog data for transaction in Host document ' 1:< Error: Cannot export the 3D view: ' 'The input curve is not bound. 'Parameter name: curve ' ' at Autodesk.Revit.DB.CustomExporter.Export(View view) ' at DatasmithRevitExporter.DatasmithRevitCommand.Execute(ExternalCommandData InCommandData, String& OutCommandMessage, ElementSet OutElements) ' 1:< Error dialog summary ' 1:< Error: Cannot export the 3D view: ' 'The input curve is not bound. 'Parameter name: curve ' ' at Autodesk.Revit.DB.CustomExporter.Export(View view) ' at DatasmithRevitExporter.DatasmithRevitCommand.Execute(ExternalCommandData InCommandData, String& OutCommandMessage, ElementSet OutElements) - 1 times 'H 12-May-2020 19:46:52.018; 1:< Jrn.Data "Error dialog" _ , "0 failures, 1 errors, 0 warnings" 'C 12-May-2020 19:46:52.018; 1:< ADialog::doModal start 'E 12-May-2020 19:46:54.621; 1:< Jrn.PushButton "Modal , Autodesk Revit 2020 , Dialog_Revit_DocWarnDialog" _ , "Cancel, IDABORT" 'C 12-May-2020 19:46:54.653; 1:< ADialog::doModal stop ' 2.635576 1:<<EndOrAbortUndoTransaction();DOPT; ' 0:< ::214:: Delta VM: Avail +47 -> 134209545 MB, Used -45 -> 1429 MB; RAM: Avail +16 -> 22741 MB, Used -22 -> 1437 MB ' 0:< GUI Resource Usage GDI: Avail 9120, Used 880, User: Used 573 'E 12-May-2020 19:47:01.811; 0:<
Comment