<?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: AC28: Builtin Properties no longer available -&amp;gt; Worse Compatibility with AC Language Versions in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616135#M9690</link>
    <description>&lt;P&gt;Thanks Viktor!&lt;BR /&gt;&lt;BR /&gt;That does indeed work across languages (tested with AC28 INT/GER/ITA - Tech Preview).&lt;BR /&gt;I had the wrong assumption, that different property names would automatically lead to different GUIDs and that's why I've relied on the Fundamental BuiltIn property in the past. Might be that built-in properties are special regarding that. Thanks a lot for clearing it up &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For reference: The '&lt;STRONG&gt;Element ID&lt;/STRONG&gt;' Property has the following GUID: 7E221F33-829B-4FBC-A670-E74DABCE6289&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jul 2024 10:20:12 GMT</pubDate>
    <dc:creator>BerndSchwarzenbacher</dc:creator>
    <dc:date>2024-07-17T10:20:12Z</dc:date>
    <item>
      <title>AC28: Builtin Properties no longer available -&gt; Worse Compatibility with AC Language Versions</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616105#M9683</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I’m aware that &lt;A href="https://community.graphisoft.com/t5/Graphisoft-Technology-Preview/For-developers-API-Devkit-new-features/ta-p/606924" target="_self"&gt;Built-In Properties are no longer accessible through the Archicad SDK&lt;/A&gt;.&lt;BR /&gt;&lt;/SPAN&gt;Unfortunately, this means that making an Add-On compatible with all language version is now drastically more difficult!&lt;BR /&gt;Previously for example the property “&lt;STRONG data-renderer-mark="true"&gt;ElementID&lt;/STRONG&gt;” was available in the Property Group “&lt;STRONG data-renderer-mark="true"&gt;GeneralElemProperties&lt;/STRONG&gt;” and to my knowledge this was the same across all Archicad language versions. If we want to change or access this property now, we have to know it’s name and group name for all languages. I wasn't able to find a list for such translations yet. I'm afraid I'll have to download all Language versions and produce the list myself.&lt;/P&gt;
&lt;P&gt;Does anybody already have such a list of translations for properties like Element ID?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If there's no easy workaround, please&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/7122"&gt;@Akos Somorjai&lt;/a&gt;&amp;nbsp; consider reintroducing a way to access such properties independent of the AC language version!&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 13:41:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616105#M9683</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2024-09-18T13:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: AC28: Builtin Properties no longer available -&gt; Worse Compatibility with AC Language Versions</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616119#M9686</link>
      <description>&lt;P&gt;Hi Bernd,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The future-proof way of identifying built-in properties is to use their guids. You can hard-code the guid in your code, just as you hard-coded the name earlier.&amp;nbsp;To get the list of available built-in properties with their guids you can use this code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;void DumpAllBuiltInProperties ()
{
    GS::Array&amp;lt;API_PropertyGroup&amp;gt; groups;
    ACAPI_Property_GetPropertyGroups (groups);
    for (const API_PropertyGroup&amp;amp; group : groups) {
        GS::Array&amp;lt;API_PropertyDefinition&amp;gt; definitions;
        ACAPI_Property_GetPropertyDefinitions (group.guid, definitions);
        for (const API_PropertyDefinition&amp;amp; definition : definitions) {
            if (definition.definitionType != API_PropertyStaticBuiltInDefinitionType) {
                continue;
            }
            GS::UniString report =
                group.name + "\t" +
                definition.name + "\t" +
                APIGuidToString (definition.guid);
            ACAPI_WriteReport (report, false);
        }
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 09:35:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616119#M9686</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2024-07-17T09:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: AC28: Builtin Properties no longer available -&gt; Worse Compatibility with AC Language Versions</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616135#M9690</link>
      <description>&lt;P&gt;Thanks Viktor!&lt;BR /&gt;&lt;BR /&gt;That does indeed work across languages (tested with AC28 INT/GER/ITA - Tech Preview).&lt;BR /&gt;I had the wrong assumption, that different property names would automatically lead to different GUIDs and that's why I've relied on the Fundamental BuiltIn property in the past. Might be that built-in properties are special regarding that. Thanks a lot for clearing it up &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;For reference: The '&lt;STRONG&gt;Element ID&lt;/STRONG&gt;' Property has the following GUID: 7E221F33-829B-4FBC-A670-E74DABCE6289&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 10:20:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616135#M9690</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2024-07-17T10:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: AC28: Builtin Properties no longer available -&gt; Worse Compatibility with AC Language Versions</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616136#M9691</link>
      <description>&lt;P&gt;I totally support Bernd on this. Addon developers are a significant part of Archicad 's evolment and users' workflow.&lt;/P&gt;
&lt;P&gt;Their work should be more productive and creative and so the SDK must also aim on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: Glad that the instant solution&amp;nbsp;by &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12765"&gt;@Viktor Kovacs&lt;/a&gt; cleared things up.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 10:27:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616136#M9691</guid>
      <dc:creator>Botonis</dc:creator>
      <dc:date>2024-07-17T10:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: AC28: Builtin Properties no longer available -&gt; Worse Compatibility with AC Language Versions</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616140#M9692</link>
      <description>&lt;P&gt;Yes, built-in property guids are stable across Archicad versions and languages. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 10:22:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616140#M9692</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2024-07-17T10:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: AC28: Builtin Properties no longer available -&gt; Worse Compatibility with AC Language Versions</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616141#M9693</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/39855"&gt;@Botonis&lt;/a&gt; for always having my back!&lt;BR /&gt;Fortunately, the way Viktor showed is a very easy and better alternative to do the thing I tried to do &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 10:25:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/AC28-Builtin-Properties-no-longer-available-gt-Worse/m-p/616141#M9693</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2024-07-17T10:25:51Z</dc:date>
    </item>
  </channel>
</rss>

