<?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 Call the C++ API continuously every x minutes in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Call-the-C-API-continuously-every-x-minutes/m-p/355472#M1989</link>
    <description>&lt;P&gt;I'm looking for some way to use the C++ API (like opening a dialog or creating a wall element) on a timer basis.&lt;/P&gt;&lt;P&gt;Something along the lines of when the addon is loaded register a callback (lambda/function pointer)&amp;nbsp; that runs some functionality every minute.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise I'm thinking of spawning a thread in&amp;nbsp;RegisterInterface that wakes up every minute and does what i want. But I don't think the C++ API likes being used from a separate thread...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Sep 2022 21:22:30 GMT</pubDate>
    <dc:creator>BenjiDev</dc:creator>
    <dc:date>2022-09-08T21:22:30Z</dc:date>
    <item>
      <title>Call the C++ API continuously every x minutes</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Call-the-C-API-continuously-every-x-minutes/m-p/355472#M1989</link>
      <description>&lt;P&gt;I'm looking for some way to use the C++ API (like opening a dialog or creating a wall element) on a timer basis.&lt;/P&gt;&lt;P&gt;Something along the lines of when the addon is loaded register a callback (lambda/function pointer)&amp;nbsp; that runs some functionality every minute.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise I'm thinking of spawning a thread in&amp;nbsp;RegisterInterface that wakes up every minute and does what i want. But I don't think the C++ API likes being used from a separate thread...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 21:22:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Call-the-C-API-continuously-every-x-minutes/m-p/355472#M1989</guid>
      <dc:creator>BenjiDev</dc:creator>
      <dc:date>2022-09-08T21:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Call the C++ API continuously every x minutes</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Call-the-C-API-continuously-every-x-minutes/m-p/355642#M1990</link>
      <description>&lt;P&gt;I stumbled across the GS::MessageLoopExectuor class, looks like it can be useful to run heavy tasks without freezing up the UI. It also has some "Wait" methods that looks like something i can use.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2022 22:50:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Call-the-C-API-continuously-every-x-minutes/m-p/355642#M1990</guid>
      <dc:creator>BenjiDev</dc:creator>
      <dc:date>2022-09-11T22:50:50Z</dc:date>
    </item>
  </channel>
</rss>

