<?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 Create Revit Document from IFC File using RevitPythonShell in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/11919296#M12443</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a Revit document from an IFC file on my desktop. I'm using RevitPythonShell on Revit 2022.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to execute the program, I end up with this exception:&lt;/P&gt;&lt;P&gt;" Autodesk.Revit.Exceptions.InternalException: A managed exception was thrown by Revit &lt;SPAN&gt;or&lt;/SPAN&gt; by one of its external applications."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="victorbastidas_0-1682392755847.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1206267i84AE8EAF9D993348/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victorbastidas_0-1682392755847.png" alt="victorbastidas_0-1682392755847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is all I get. Happens the same when trying to create a new project from scratch:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="victorbastidas_1-1682392842332.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1206268iDE1E503BE160A7FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victorbastidas_1-1682392842332.png" alt="victorbastidas_1-1682392842332.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas would help a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and have a nice day!&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2023 03:21:09 GMT</pubDate>
    <dc:creator>victor.bastidas</dc:creator>
    <dc:date>2023-04-25T03:21:09Z</dc:date>
    <item>
      <title>Create Revit Document from IFC File using RevitPythonShell</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/11919296#M12443</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a Revit document from an IFC file on my desktop. I'm using RevitPythonShell on Revit 2022.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to execute the program, I end up with this exception:&lt;/P&gt;&lt;P&gt;" Autodesk.Revit.Exceptions.InternalException: A managed exception was thrown by Revit &lt;SPAN&gt;or&lt;/SPAN&gt; by one of its external applications."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="victorbastidas_0-1682392755847.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1206267i84AE8EAF9D993348/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victorbastidas_0-1682392755847.png" alt="victorbastidas_0-1682392755847.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is all I get. Happens the same when trying to create a new project from scratch:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="victorbastidas_1-1682392842332.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1206268iDE1E503BE160A7FF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="victorbastidas_1-1682392842332.png" alt="victorbastidas_1-1682392842332.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas would help a lot!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks and have a nice day!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 03:21:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/11919296#M12443</guid>
      <dc:creator>victor.bastidas</dc:creator>
      <dc:date>2023-04-25T03:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create Revit Document from IFC File using RevitPythonShell</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/11919326#M12444</link>
      <description>&lt;P&gt;Hi! I assume you're trying to run the code without any open Revit document. RPS refers to an open Revit document during code execution. And if it's not there, an exception is thrown. So open some document first. And then try to call the methods shown on the screenshot.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 03:50:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/11919326#M12444</guid>
      <dc:creator>architect.bim</dc:creator>
      <dc:date>2023-04-25T03:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create Revit Document from IFC File using RevitPythonShell</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/11919331#M12445</link>
      <description>&lt;P&gt;Hi Maxim, thanks for your quick reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I indeed have no document opened.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you mean, opening any document and then after that trying to open my IFC Files?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to do this because we are handling hundreds of IFC Files, so what I want to do is open them one by one and save them as a Revit Cloud model (I got that part sorted, I just need to create the new doc for each IFC File)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 03:55:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/11919331#M12445</guid>
      <dc:creator>victor.bastidas</dc:creator>
      <dc:date>2023-04-25T03:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create Revit Document from IFC File using RevitPythonShell</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/11919578#M12446</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;Yes, I mean exactly that. Just open some empty Revit file and don't close it until you finish working with IFC files. After that start openning and closing necessary IFC files. In that case the Exception should not appear.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 07:04:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/11919578#M12446</guid>
      <dc:creator>architect.bim</dc:creator>
      <dc:date>2023-04-25T07:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Create Revit Document from IFC File using RevitPythonShell</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/11920519#M12447</link>
      <description>&lt;P&gt;This worked! I'll read the init python file again and see what changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again, Maxim!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 14:06:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/11920519#M12447</guid>
      <dc:creator>victor.bastidas</dc:creator>
      <dc:date>2023-04-25T14:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create Revit Document from IFC File using RevitPythonShell</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/13212179#M12448</link>
      <description>&lt;P&gt;Hi Guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to do the same; it runs without a problem and seems to process the ifc file. But in the ifc folder, no rvt file is created. Shouldn't the rvt file be created in the same folder as the ifc file? am I missing something?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2024 09:24:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/13212179#M12448</guid>
      <dc:creator>Goody_GudarzianVUMSA</dc:creator>
      <dc:date>2024-12-15T09:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create Revit Document from IFC File using RevitPythonShell</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/13341803#M12449</link>
      <description>&lt;P&gt;Hi, are you just opening the IFC file? If so you'll have to save the model with another command.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If you want the same functionality as the one that happens when you link an IFC file, you'll have to refer to how links work on the open source project revit-ifc&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Autodesk/revit-ifc" target="_blank"&gt;Autodesk/revit-ifc: IFC for Revit and Navisworks (2019+)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope it helps.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 20:43:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/create-revit-document-from-ifc-file-using-revitpythonshell/m-p/13341803#M12449</guid>
      <dc:creator>victor.bastidas</dc:creator>
      <dc:date>2025-02-26T20:43:41Z</dc:date>
    </item>
  </channel>
</rss>

