<?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: ACAPI_ProjectOperation_Open returned -7003 in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/686985#M10731</link>
    <description>&lt;P&gt;By the way, the attached IFC file I'm using is just random data for experimental purposes, but it is a proper IFC file that can be loaded by clicking "Open" in the UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Dec 2025 01:40:19 GMT</pubDate>
    <dc:creator>NH</dc:creator>
    <dc:date>2025-12-16T01:40:19Z</dc:date>
    <item>
      <title>ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/685862#M10723</link>
      <description>&lt;P&gt;The following code for loading IFC files, which worked in ArchiCAD 28, now returns error -7003 in ArchiCAD 29.&lt;/P&gt;&lt;P&gt;The same procedure works fine with pln files.&lt;/P&gt;&lt;P&gt;What could the problem be?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;	API_FileOpenPars	fop;
	BNZeroMemory(&amp;amp;fop, sizeof(API_FileOpenPars));

	fop.fileTypeID = APIFType_IfcFile;

	fop.useStoredLib = true;
	GS::UniString IfcFile = &amp;lt;The correct Ifc file path&amp;gt;;

	IO::Location IfcLoc(IfcFile.ToCStr());
	fop.file = &amp;amp;IfcLoc;

	err = ACAPI_ProjectOperation_Open(&amp;amp;fop);&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 04 Dec 2025 04:58:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/685862#M10723</guid>
      <dc:creator>NH</dc:creator>
      <dc:date>2025-12-04T04:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/685867#M10724</link>
      <description>&lt;P&gt;I checked the definition of "APIFType_IfcFile", which I hadn't checked before, and found that it says "save only".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I can tell, it seems to have been written as such since ArchiCAD 21, so perhaps it was just a coincidence that it was usable until now, and that it became fully unusable in ArchiCAD 29, when IFC implementation became stricter?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there are any alternative methods, I would appreciate it if you could let me know.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 06:37:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/685867#M10724</guid>
      <dc:creator>NH</dc:creator>
      <dc:date>2025-12-04T06:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/686922#M10729</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What happens if you don't specify the fileTypeID? The code should be able to derive that from the file extension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best, Akos&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 10:45:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/686922#M10729</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2025-12-15T10:45:33Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/686983#M10730</link>
      <description>&lt;P&gt;&amp;gt;What happens if you don't specify the fileTypeID? The code should be able to derive that from the file extension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this case, "err = ACAPI_ProjectOperation_Open(&amp;amp;fop);" will return "APIERR_BADPARS" and nothing will happen.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If "APIFType_IfcFile" is specified, a progress dialog like the one in the attached image will be displayed and the "open" operation will proceed partway, but ultimately the error "-7003" will be returned and the "open" will fail.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/95379iA7B97902F27BB191/image-size/large?v=v2&amp;amp;px=999" border="0" alt="progress.jpg" title="progress.jpg" /&gt;</description>
      <pubDate>Tue, 16 Dec 2025 01:25:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/686983#M10730</guid>
      <dc:creator>NH</dc:creator>
      <dc:date>2025-12-16T01:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/686985#M10731</link>
      <description>&lt;P&gt;By the way, the attached IFC file I'm using is just random data for experimental purposes, but it is a proper IFC file that can be loaded by clicking "Open" in the UI.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 01:40:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/686985#M10731</guid>
      <dc:creator>NH</dc:creator>
      <dc:date>2025-12-16T01:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/688594#M10744</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I simpified your code a little bit (see below) and tried it on my Mac in Archicad 29 (build 3200), and in the current development version, and file was opened in both cases without any error. Also, I haven't seen any IFC-related fixes in the Archicad 29 code since the release.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please recheck with this code?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks, Ákos&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;SPAN&gt;API_FileOpenPars&lt;/SPAN&gt; &lt;SPAN&gt;fop&lt;/SPAN&gt;&lt;SPAN&gt; {};&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;fop&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;fileTypeID&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;APIFType_IfcFile&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;fop&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;useStoredLib&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GS&lt;/SPAN&gt;&lt;SPAN&gt;::&lt;/SPAN&gt;&lt;SPAN&gt;UniString&lt;/SPAN&gt; &lt;SPAN&gt;IfcFile&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;"/Users/somorjai/Downloads/LightCadOut.Ifc"&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IO&lt;/SPAN&gt;&lt;SPAN&gt;::&lt;/SPAN&gt;&lt;SPAN&gt;Location&lt;/SPAN&gt; &lt;SPAN&gt;IfcLoc&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;IfcFile&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;fop&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;file&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;IfcLoc&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;GSErrCode&lt;/SPAN&gt; &lt;SPAN&gt;err&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;ACAPI_ProjectOperation_Open&lt;/SPAN&gt;&lt;SPAN&gt; (&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;fop&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/95968iC1C6A1A508A8EDA4/image-size/large?v=v2&amp;amp;px=999" border="0" alt="AC29 open IFC file.png" title="AC29 open IFC file.png" /&gt;</description>
      <pubDate>Fri, 09 Jan 2026 10:48:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/688594#M10744</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2026-01-09T10:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/689020#M10751</link>
      <description>&lt;P&gt;Thinking that the problem might be due to differences in the initialization of API_FileOpenPers or the way files are handled, I created an add-on using only the code you provided and ran it, but I still received error -7003.&lt;/P&gt;&lt;P&gt;I'm very sorry for not mentioning this in my initial post, but our company is currently developing using Visual Studio 2022 version 17.14.23 on Windows 11 25H2.&lt;/P&gt;&lt;P&gt;I apologize for the inconvenience, but could you please check again in a Windows environment?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jan 2026 06:06:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/689020#M10751</guid>
      <dc:creator>NH</dc:creator>
      <dc:date>2026-01-13T06:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/689419#M10752</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried Ákos's code on Windows, and it opened the given IFC file without errors.&lt;/P&gt;
&lt;P&gt;I've also used&amp;nbsp;25H2 Windows 11 and the recommended compiler, Visual Studio 2022. Compiler version&amp;nbsp;&lt;SPAN data-teams="true"&gt;19.41.34120.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Best, Tamás&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2026 09:01:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/689419#M10752</guid>
      <dc:creator>Tamas Polyak</dc:creator>
      <dc:date>2026-01-14T09:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/689904#M10755</link>
      <description>&lt;P&gt;Another idea is, if the problem is not the compiler version, please check the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;_ITERATOR_DEBUG_LEVEL macro, because if set to 2, it can cause unexpected errors and crashes:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.graphisoft.com/t5/Developer-Insights/Possible-cause-of-random-crashes-on-Windows/ba-p/678769" target="_blank"&gt;Possible cause of random crashes on Windows - Graphisoft Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Tamás&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jan 2026 17:34:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/689904#M10755</guid>
      <dc:creator>Tamas Polyak</dc:creator>
      <dc:date>2026-01-15T17:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/689929#M10756</link>
      <description>&lt;P&gt;Thank you for checking.&lt;/P&gt;
&lt;P&gt;The compiler version I'm using here is 19.44.35222.&lt;BR /&gt;Also, the debug build's _ITERATOR_DEBUG_LEVEL is set to 0 in the preprocessor definition, as shown in the attached image.&lt;/P&gt;
&lt;P&gt;Thinking that there might be a problem with the project configuration, I ported the code provided in your sample "Communication_Manager," but I still get the -7003 error.&lt;/P&gt;
&lt;P&gt;If possible, could you please provide a working sample project?&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="NH_0-1768525992425.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/96176i752E38409DB18D8E/image-size/large?v=v2&amp;amp;px=999" role="button" title="NH_0-1768525992425.png" alt="NH_0-1768525992425.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2026 11:53:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/689929#M10756</guid>
      <dc:creator>NH</dc:creator>
      <dc:date>2026-01-16T11:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/690218#M10758</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you download Archicad29 INT version (build 3000) and try whether you have the same error?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.graphisoft.com/resources-and-support/downloads/?section=product&amp;amp;localization=INT&amp;amp;product=archicad&amp;amp;type=FULL&amp;amp;version=29&amp;amp;platform=windows" target="_blank"&gt;Download Graphisoft Products, Updates &amp;amp; Add-ons&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 01:34:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/690218#M10758</guid>
      <dc:creator>Hiromichi Shinkawa</dc:creator>
      <dc:date>2026-01-20T01:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/690220#M10759</link>
      <description>&lt;P&gt;It worked fine with Archicad29 INT version (build 3000).&lt;BR /&gt;The same add-on fails with Archicad29 JPN version (build 3000) and returns error -7003.&lt;/P&gt;&lt;P&gt;Is this a problem limited to Archicad29 JPN?&lt;BR /&gt;Please check.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 05:27:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/690220#M10759</guid>
      <dc:creator>NH</dc:creator>
      <dc:date>2026-01-20T05:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/690306#M10760</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I've checked in the JPN version and the command fails for me too, while the same addon works in INT.&lt;/P&gt;
&lt;P&gt;I'll investigate it some more, and report it if it turns out to be a bug.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Tamás&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2026 22:59:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/690306#M10760</guid>
      <dc:creator>Tamas Polyak</dc:creator>
      <dc:date>2026-01-20T22:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_ProjectOperation_Open returned -7003</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/691446#M10768</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You actually found a bug in the Japanese version of AC29. It tries to load the IFC translator from the default template file, and because of an error in the resources it doesn't find it and aborts the open operation.&lt;/P&gt;
&lt;P&gt;The bug is fixed, and is going to come out in update 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the mean time, if you duplicate the default template file ("C:\Program Files\Graphisoft\Archicad 29\Defaults\Archicad\Archicad 29 &lt;SPAN data-teams="true"&gt;汎用&lt;/SPAN&gt;テンプレート.tpl") and rename it to&lt;SPAN data-teams="true"&gt; Archicad 29 テンプレート.tpl the addon will work again.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Tamás&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jan 2026 15:24:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-ProjectOperation-Open-returned-7003/m-p/691446#M10768</guid>
      <dc:creator>Tamas Polyak</dc:creator>
      <dc:date>2026-01-29T15:24:51Z</dc:date>
    </item>
  </channel>
</rss>

