<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Exception in CustomExporter for Revit 2018 in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7046033#M58856</link>
    <description>&lt;P&gt;Thank you for reporting this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I escalated your new thread to an ADN ticket for the development team to explore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
    <pubDate>Thu, 27 Apr 2017 10:13:40 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2017-04-27T10:13:40Z</dc:date>
    <item>
      <title>Exception in CustomExporter for Revit 2018</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7040052#M58854</link>
      <description>&lt;P&gt;We are building a Revit plugin which exports rvt file to json for WebGL rendering. The core of plugin is a child class of IExportContext which is triggered by CustomExporter. The same piece of code works fine for rvt 2015 to 2017. After we rebuild the plugin with rvt 2018, we find the plugin will crash easily if we export multiple views. With some experiments, we find crash will occur unless we only export current active 3D view.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some other observation are&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) crash has not debug information. It crashes at revit DLLs.&lt;/P&gt;&lt;P&gt;2) crash happens right after IExportContext.OnViewEnd()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I attached a simplified code sample to illustrate the problem. Please help.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 10:37:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7040052#M58854</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-25T10:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in CustomExporter for Revit 2018</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7045407#M58855</link>
      <description>&lt;P&gt;I post another link for this issue with new title of bug report. Close this one now.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 02:05:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7045407#M58855</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-27T02:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in CustomExporter for Revit 2018</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7046033#M58856</link>
      <description>&lt;P&gt;Thank you for reporting this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I escalated your new thread to an ADN ticket for the development team to explore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Thu, 27 Apr 2017 10:13:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7046033#M58856</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-04-27T10:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in CustomExporter for Revit 2018</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7918306#M58857</link>
      <description>&lt;P&gt;I have the same weird issue with CustomExporter in Revit 2018. Everything is working from Revit 2016 to 2017. However Revit 2018 dumps out after running CustomExporter.Export() method and no way to debug it. Checking at the Revit&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;journal file&amp;nbsp;does&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;not help anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also issue to run async/await methods in Revit 2018, I have to replace async methods with normal synchronous methods to avoid shutting down Revit unexpectedly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.Windows.Forms.Application.DoEvents() also crashes out Revit 2018, it may be a bug with the UI thread in Revit 2018.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 15:05:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7918306#M58857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-09T15:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in CustomExporter for Revit 2018</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7919006#M58858</link>
      <description>&lt;P&gt;What exception is thrown?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried to simply catch and ignore it?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I successfully handled a previous issue with the custom exporter in that manner:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2016/07/exporting-rvt-bims-to-webgl-and-forge.html#3&amp;nbsp;" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2016/07/exporting-rvt-bims-to-webgl-and-forge.html#3&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/jeremytammik/CustomExporterAdnMeshJson/compare/2017.0.0.2...2017.0.0.3" target="_blank"&gt;https://github.com/jeremytammik/CustomExporterAdnMeshJson/compare/2017.0.0.2...2017.0.0.3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 09 Apr 2018 18:54:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7919006#M58858</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-04-09T18:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in CustomExporter for Revit 2018</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7922254#M58859</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot try/catch the error as it throws fatal error to shut down Revit.&amp;nbsp;The issue happens only in Revit 2018. My project in Revit 2016 and 2017 is working fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 18:41:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7922254#M58859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-10T18:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in CustomExporter for Revit 2018</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7922405#M58860</link>
      <description>&lt;P&gt;I installed Revit 2018 Update 3 and this issue is fixed. It&amp;nbsp;did not work&amp;nbsp;in&amp;nbsp;the original Revit 2018. I am happy that Autodesk has this weird issue fixed with the new product updates.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 19:46:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7922405#M58860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-10T19:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in CustomExporter for Revit 2018</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7922420#M58861</link>
      <description>&lt;P&gt;Please provide a minimal reproducible case:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/about-the-author.html#1b" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/about-the-author.html#1b&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Tue, 10 Apr 2018 19:50:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7922420#M58861</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-04-10T19:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in CustomExporter for Revit 2018</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7923315#M58862</link>
      <description>&lt;P&gt;I wrote my previous message at the same time as you wrote that it was solved by the 2018.3 update.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Wow, congratulations, and thank you for the good news!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 05:32:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/exception-in-customexporter-for-revit-2018/m-p/7923315#M58862</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-04-11T05:32:32Z</dc:date>
    </item>
  </channel>
</rss>

