<?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 Error in Element_Test-Example? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163332#M6032</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;in the example Element_Test in Element_Basics.cpp there is a function "Do_CreateWindow()". When I try to use this function an error occurs at ACAPI_Element_CreateExt at the end of this function. The error is -2130313112 (APIERR_BADPARS).&lt;BR /&gt;&lt;BR /&gt;Do I use this function wrong or is this an error in the function? How can it get resolved?&lt;/DIV&gt;</description>
    <pubDate>Thu, 03 Aug 2023 09:45:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-08-03T09:45:32Z</dc:date>
    <item>
      <title>Error in Element_Test-Example?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163332#M6032</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;in the example Element_Test in Element_Basics.cpp there is a function "Do_CreateWindow()". When I try to use this function an error occurs at ACAPI_Element_CreateExt at the end of this function. The error is -2130313112 (APIERR_BADPARS).&lt;BR /&gt;&lt;BR /&gt;Do I use this function wrong or is this an error in the function? How can it get resolved?&lt;/DIV&gt;</description>
      <pubDate>Thu, 03 Aug 2023 09:45:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163332#M6032</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-03T09:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Element_Test-Example?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163333#M6033</link>
      <description>Did really nobody ever work with this function?&lt;BR /&gt;
&lt;BR /&gt;
Does someone has a working example for creating a window?&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Andreas</description>
      <pubDate>Wed, 14 Jul 2010 15:18:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163333#M6033</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-14T15:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Element_Test-Example?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163334#M6034</link>
      <description>I know it worked several years ago, but haven't tried that one in a few years / versions. What is the version of the devkit that you are using?</description>
      <pubDate>Wed, 14 Jul 2010 18:43:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163334#M6034</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2010-07-14T18:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Element_Test-Example?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163335#M6035</link>
      <description>I use the Development Kit 13.2517.</description>
      <pubDate>Thu, 15 Jul 2010 10:27:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163335#M6035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-07-15T10:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Element_Test-Example?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163336#M6036</link>
      <description>I got this error code when trying to modify Attribute with AttributeDefExt. &lt;BR /&gt;
&lt;BR /&gt;
What dose it mean ?&lt;BR /&gt;
2130313112&lt;BR /&gt;
How I can debug this 'inconsistency' ?</description>
      <pubDate>Wed, 26 Sep 2018 10:05:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163336#M6036</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-26T10:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Element_Test-Example?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163337#M6037</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
The error code  -2130313112, or &lt;B&gt;APIERR_BADPARS&lt;/B&gt; means that you have given invalid or inconsistent parameters to an API function, and as such, the operation didn't succeed. I recommend looking into the API &lt;A href="http://archicadapi.graphisoft.com/documentation/acapi_attribute_modifyext" target="_blank"&gt;documentation of the function&lt;/A&gt;, which produces the error.&lt;BR /&gt;
&lt;BR /&gt;
As for the &lt;B&gt;ACAPI_Attribute_ModifyExt&lt;/B&gt; function, the most common causes of this error code is passing null pointers for required arguments.&lt;BR /&gt;
&lt;BR /&gt;
You can find a comprehensive list of error codes and their meanings on the &lt;A href="http://archicadapi.graphisoft.com/documentation/error-codes" target="_blank"&gt;ARCHICAD API site&lt;/A&gt;.&lt;BR /&gt;
&lt;BR /&gt;
Also, in the future, please refrain from reviving 8-year-old threads in the forum. You can always create a new thread, and ask for information there.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;
Dénes</description>
      <pubDate>Wed, 26 Sep 2018 15:06:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163337#M6037</guid>
      <dc:creator>dfintha</dc:creator>
      <dc:date>2018-09-26T15:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Element_Test-Example?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163338#M6038</link>
      <description>Thanx, that was a case that actually passed object was empty the reason was in another part of the code. &lt;BR /&gt;
&lt;BR /&gt;
I will create a new one. I was trying to find a solution on the forum and haven't checked it so old topic.</description>
      <pubDate>Thu, 27 Sep 2018 13:53:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Error-in-Element-Test-Example/m-p/163338#M6038</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-27T13:53:05Z</dc:date>
    </item>
  </channel>
</rss>

