<?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: What error is -2130312307? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/What-error-is-2130312307/m-p/370437#M1384</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The best way to start developing Archicad AddOns is to follow the steps in&amp;nbsp;&lt;A href="https://archicadapi.graphisoft.com/getting-started-with-archicad-add-ons" target="_blank" rel="noopener"&gt;Getting started with Archicad Add-Ons.&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;András&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Feb 2023 07:27:24 GMT</pubDate>
    <dc:creator>akiss</dc:creator>
    <dc:date>2023-02-13T07:27:24Z</dc:date>
    <item>
      <title>What error is -2130312307?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/What-error-is-2130312307/m-p/369251#M1379</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LeeJaeYoung_0-1675178670141.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/33957i8FFC78F3B235DF37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LeeJaeYoung_0-1675178670141.png" alt="LeeJaeYoung_0-1675178670141.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What error is -2130312307?&lt;/P&gt;
&lt;P&gt;I added a menu in element_test and an error occurred, so I modified the existing menu, but the same error occurs.&lt;/P&gt;
&lt;P&gt;This is the ac26 version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;GSErrCode __ACENV_CALL ElementsHotlink (const API_MenuParams *menuParams)
{
GSErrCode err = NoError;
switch (menuParams-&amp;gt;menuItemRef.itemIndex) {
case 1: Do_CreateBeam(); break;
//case 1: err = Do_CreateHotlink (); break;
case 2: err = Do_ChangeHotlink (); break;
case 3: err = Do_UpdateHotlink (); break;
case 4: err = Do_DeleteHotlink (); break;
case 5: err = Do_BreakHotlink (); break;
case 6: Do_ListHotlinks (); break;
case 7: Do_ListHotlinkProxyElements (); break;
case 8: Do_ModifiyHotlinkNode (); break;

default: break;
}

return err;
} /* ElementsHotlink */&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 08 Feb 2023 11:27:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/What-error-is-2130312307/m-p/369251#M1379</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-02-08T11:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: What error is -2130312307?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/What-error-is-2130312307/m-p/369252#M1380</link>
      <description>&lt;P&gt;Are you calling your create element function inside ACAPI_CallUndoableCommand block?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 15:51:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/What-error-is-2130312307/m-p/369252#M1380</guid>
      <dc:creator>Miha Nahtigal</dc:creator>
      <dc:date>2023-01-31T15:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: What error is -2130312307?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/What-error-is-2130312307/m-p/369257#M1382</link>
      <description>&lt;P&gt;&lt;A href="https://archicadapi.graphisoft.com/documentation/error-codes" target="_self"&gt;Archicad Error Codes&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE width="100%"&gt;
&lt;TBODY&gt;
&lt;TR bgcolor="#F0F0FF"&gt;
&lt;TD&gt;&lt;CODE&gt;APIERR_NEEDSUNDOSCOPE&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;-2130312307&lt;/TD&gt;
&lt;TD&gt;8106038D&lt;/TD&gt;
&lt;TD&gt;The called command should be encapsulated in a &lt;A href="https://archicadapi.graphisoft.com/documentation/acapi_callundoablecommand" data-path="../Functions/ACAPI_CallUndoableCommand.html" target="_blank"&gt;ACAPI_CallUndoableCommand&lt;/A&gt; scope.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Tue, 31 Jan 2023 17:31:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/What-error-is-2130312307/m-p/369257#M1382</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2023-01-31T17:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: What error is -2130312307?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/What-error-is-2130312307/m-p/369276#M1383</link>
      <description>&lt;P&gt;I found out about my problem and fixed it.&lt;BR /&gt;Thank you very much.&lt;/P&gt;
&lt;P&gt;And&lt;BR /&gt;If you know how ac26 develops api with visual studio 2019, can you explain in detail?&lt;BR /&gt;I can't make it with cmake&lt;BR /&gt;I am studying while adding in element_test.&lt;BR /&gt;I also got a template file, but this is a question because I don't know where and how to install it and how to run it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.graphisoft.com/t5/Developer-forum/How-to-start-api-c-in-26/m-p/367670#M11680" target="_blank"&gt;Re: How to start api (c++) in 26? - Graphisoft Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 23:37:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/What-error-is-2130312307/m-p/369276#M1383</guid>
      <dc:creator>LeeJaeYoung</dc:creator>
      <dc:date>2023-01-31T23:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: What error is -2130312307?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/What-error-is-2130312307/m-p/370437#M1384</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;The best way to start developing Archicad AddOns is to follow the steps in&amp;nbsp;&lt;A href="https://archicadapi.graphisoft.com/getting-started-with-archicad-add-ons" target="_blank" rel="noopener"&gt;Getting started with Archicad Add-Ons.&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;András&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2023 07:27:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/What-error-is-2130312307/m-p/370437#M1384</guid>
      <dc:creator>akiss</dc:creator>
      <dc:date>2023-02-13T07:27:24Z</dc:date>
    </item>
  </channel>
</rss>

