<?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 AddOns with cross-version functionality in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/AddOns-with-cross-version-functionality/m-p/364299#M1285</link>
    <description>&lt;P&gt;We are working on our own AddOn for Archicad but we use simultanously more Archicad versions. Is there a way to create custom AddOns using the&amp;nbsp;API only&amp;nbsp;once with cross-version functionality&amp;nbsp;(e.g. for&amp;nbsp;25, 26 and future releases) or does the AddOn need to be built separately for each version of Archicad by using each version's respective API Development Kit/SDK?&lt;/P&gt;</description>
    <pubDate>Wed, 07 Dec 2022 13:58:43 GMT</pubDate>
    <dc:creator>Lukas Zeleny</dc:creator>
    <dc:date>2022-12-07T13:58:43Z</dc:date>
    <item>
      <title>AddOns with cross-version functionality</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/AddOns-with-cross-version-functionality/m-p/364299#M1285</link>
      <description>&lt;P&gt;We are working on our own AddOn for Archicad but we use simultanously more Archicad versions. Is there a way to create custom AddOns using the&amp;nbsp;API only&amp;nbsp;once with cross-version functionality&amp;nbsp;(e.g. for&amp;nbsp;25, 26 and future releases) or does the AddOn need to be built separately for each version of Archicad by using each version's respective API Development Kit/SDK?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 13:58:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/AddOns-with-cross-version-functionality/m-p/364299#M1285</guid>
      <dc:creator>Lukas Zeleny</dc:creator>
      <dc:date>2022-12-07T13:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: AddOns with cross-version functionality</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/AddOns-with-cross-version-functionality/m-p/364304#M1286</link>
      <description>&lt;P&gt;You have to compile your Add-On for every Archicad version separately, but you can use the same code base for all versions. Sometimes the API changes so you have to write some code to make it work with all versions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;#if defined(ServerMainVers_2600)
	ACAPI_Goodies_GetElemTypeName (elemHead.type, elemTypeName);
#else
	ACAPI_Goodies (APIAny_GetElemTypeNameID, (void*) elemHead.typeID, &amp;amp;elemTypeName);
#endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/kovacsv/dotbim-Archicad/blob/main/Sources/AddOn/ApiUtils.cpp" target="_self"&gt;You can find even more examples here.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2022 14:45:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/AddOns-with-cross-version-functionality/m-p/364304#M1286</guid>
      <dc:creator>kovacsv</dc:creator>
      <dc:date>2022-12-07T14:45:13Z</dc:date>
    </item>
  </channel>
</rss>

