<?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: Setting RINT grc file for creating hello world text object in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Setting-RINT-grc-file-for-creating-hello-world-text-object/m-p/577185#M8912</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;There are a lot of different ways to execute functions without a dialog box. In general you will always need the four functions &lt;STRONG&gt;CheckEnvironment&lt;/STRONG&gt;, &lt;STRONG&gt;RegisterInterface&lt;/STRONG&gt;, &lt;STRONG&gt;Initialize&lt;/STRONG&gt; and &lt;STRONG&gt;FreeData&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Here are two ideas to get started:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The easiest is to make a menu entry which triggers the function. Almost all example projects are setup like this, so take a look at these. I think the "Element_Test" example is a pretty good start.&lt;BR /&gt;Also this &lt;A href="https://archicadapi.graphisoft.com/getting-started-with-archicad-add-ons" target="_blank"&gt;blog post by Graphisoft&lt;/A&gt; describes this process in more details. Specifically what to put into the resource files etc.&lt;/LI&gt;
&lt;LI&gt;You can work with the &lt;A href="https://graphisoft.github.io/archicad-api-devkit/group___notification.html" target="_blank" rel="noopener"&gt;Notifications Manager&lt;/A&gt;. Check out the similarly named example project. This is a bit more challenging but also quite powerful. You can react to e.g. an element being changed or changing of the view.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Hope that helps,&lt;BR /&gt;Bernd&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 20:09:39 GMT</pubDate>
    <dc:creator>BerndSchwarzenbacher</dc:creator>
    <dc:date>2023-11-23T20:09:39Z</dc:date>
    <item>
      <title>Setting RINT grc file for creating hello world text object</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Setting-RINT-grc-file-for-creating-hello-world-text-object/m-p/574975#M8851</link>
      <description>&lt;P&gt;Hi i am a beginner in developing c++ api. So far i understand how to create dialog boxes and attach various function to it.&amp;nbsp; I wonder if it is possible to just execute some function without dialog box and just execute when loaded. How to setup grc file in this case and what to put in src. I mean do i still would have to use free data check env etc&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for example execute this code&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://archicadapi.graphisoft.com/hello-world" target="_blank" rel="noopener"&gt;https://archicadapi.graphisoft.com/hello-world&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 12:39:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Setting-RINT-grc-file-for-creating-hello-world-text-object/m-p/574975#M8851</guid>
      <dc:creator>tomswons</dc:creator>
      <dc:date>2024-09-16T12:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting RINT grc file for creating hello world text object</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Setting-RINT-grc-file-for-creating-hello-world-text-object/m-p/577185#M8912</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;There are a lot of different ways to execute functions without a dialog box. In general you will always need the four functions &lt;STRONG&gt;CheckEnvironment&lt;/STRONG&gt;, &lt;STRONG&gt;RegisterInterface&lt;/STRONG&gt;, &lt;STRONG&gt;Initialize&lt;/STRONG&gt; and &lt;STRONG&gt;FreeData&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;Here are two ideas to get started:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;The easiest is to make a menu entry which triggers the function. Almost all example projects are setup like this, so take a look at these. I think the "Element_Test" example is a pretty good start.&lt;BR /&gt;Also this &lt;A href="https://archicadapi.graphisoft.com/getting-started-with-archicad-add-ons" target="_blank"&gt;blog post by Graphisoft&lt;/A&gt; describes this process in more details. Specifically what to put into the resource files etc.&lt;/LI&gt;
&lt;LI&gt;You can work with the &lt;A href="https://graphisoft.github.io/archicad-api-devkit/group___notification.html" target="_blank" rel="noopener"&gt;Notifications Manager&lt;/A&gt;. Check out the similarly named example project. This is a bit more challenging but also quite powerful. You can react to e.g. an element being changed or changing of the view.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Hope that helps,&lt;BR /&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 20:09:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Setting-RINT-grc-file-for-creating-hello-world-text-object/m-p/577185#M8912</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2023-11-23T20:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Setting RINT grc file for creating hello world text object</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Setting-RINT-grc-file-for-creating-hello-world-text-object/m-p/577186#M8913</link>
      <description>&lt;P&gt;Yes, thanks a lot! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 20:08:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Setting-RINT-grc-file-for-creating-hello-world-text-object/m-p/577186#M8913</guid>
      <dc:creator>tomswons</dc:creator>
      <dc:date>2023-11-23T20:08:45Z</dc:date>
    </item>
  </channel>
</rss>

