<?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 ACAPI_Command_CallFromEventLoop sometimes returns APIERR_REFUSEDCMD in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Command-CallFromEventLoop-sometimes-returns-APIERR/m-p/370693#M1397</link>
    <description>&lt;P&gt;Hello there,&lt;BR /&gt;I need to make a call from the main thread, but ACAPI_Command_CallFromEventLoop only works sporadically and sometimes (not always) returning APIERR_REFUSEDCMD, despite me using the exact example provided in the &lt;A href="https://archicadapi.graphisoft.com/documentation/acapi_command_callfromeventloop" target="_self"&gt;documentation&lt;/A&gt; (for some reason it's not in the SDK examples).&lt;BR /&gt;&lt;BR /&gt;Does anybody know why that is or what that means? Tested on Archicad 24.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2023 15:24:08 GMT</pubDate>
    <dc:creator>someone</dc:creator>
    <dc:date>2023-02-15T15:24:08Z</dc:date>
    <item>
      <title>ACAPI_Command_CallFromEventLoop sometimes returns APIERR_REFUSEDCMD</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Command-CallFromEventLoop-sometimes-returns-APIERR/m-p/370693#M1397</link>
      <description>&lt;P&gt;Hello there,&lt;BR /&gt;I need to make a call from the main thread, but ACAPI_Command_CallFromEventLoop only works sporadically and sometimes (not always) returning APIERR_REFUSEDCMD, despite me using the exact example provided in the &lt;A href="https://archicadapi.graphisoft.com/documentation/acapi_command_callfromeventloop" target="_self"&gt;documentation&lt;/A&gt; (for some reason it's not in the SDK examples).&lt;BR /&gt;&lt;BR /&gt;Does anybody know why that is or what that means? Tested on Archicad 24.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2023 15:24:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Command-CallFromEventLoop-sometimes-returns-APIERR/m-p/370693#M1397</guid>
      <dc:creator>someone</dc:creator>
      <dc:date>2023-02-15T15:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_Command_CallFromEventLoop sometimes returns APIERR_REFUSEDCMD</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Command-CallFromEventLoop-sometimes-returns-APIERR/m-p/370862#M1398</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If you used the exact example, maybe you need to replace the MDID values with appropriate ones for you Add-On. What values did you use there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 10:08:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Command-CallFromEventLoop-sometimes-returns-APIERR/m-p/370862#M1398</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2023-02-17T10:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_Command_CallFromEventLoop sometimes returns APIERR_REFUSEDCMD</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Command-CallFromEventLoop-sometimes-returns-APIERR/m-p/370872#M1399</link>
      <description>&lt;P&gt;Sorry, 'exact' was maybe the wrong wording. I changed the MDID values to ones I know are working and the call sometimes works too so this can't be the problem I would think.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Feb 2023 12:49:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Command-CallFromEventLoop-sometimes-returns-APIERR/m-p/370872#M1399</guid>
      <dc:creator>someone</dc:creator>
      <dc:date>2023-02-17T12:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: ACAPI_Command_CallFromEventLoop sometimes returns APIERR_REFUSEDCMD</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Command-CallFromEventLoop-sometimes-returns-APIERR/m-p/371956#M1400</link>
      <description>&lt;P&gt;OK so that's probably not the issue then.&lt;BR /&gt;If you can post the source code for us to compile and try, then I could give it try to debug it.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 09:56:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/ACAPI-Command-CallFromEventLoop-sometimes-returns-APIERR/m-p/371956#M1400</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2023-03-02T09:56:11Z</dc:date>
    </item>
  </channel>
</rss>

