<?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: Getting value of built-in properties by their GUID in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/586690#M9147</link>
    <description>&lt;P&gt;Indeed, this is the stuff I searched for.&lt;/P&gt;
&lt;P&gt;Many thanks.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2024 13:51:38 GMT</pubDate>
    <dc:creator>Sam Karli</dc:creator>
    <dc:date>2024-02-05T13:51:38Z</dc:date>
    <item>
      <title>Getting value of built-in properties by their GUID</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/585460#M9116</link>
      <description>&lt;P&gt;Elements have, like,&amp;nbsp;Renovation Status that can be accessed as built in properties. In many cases these properties have GUIDs as values. Is it possible to get some more info from these values?&lt;/P&gt;
&lt;P&gt;Like&amp;nbsp;&lt;EM&gt;"57E66097-9C38-8012-D9C7-0CA01AA5EB1E"&lt;/EM&gt; as a string: &lt;EM&gt;"To Be Demolished"?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 11:15:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/585460#M9116</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2024-09-17T11:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting value of built-in properties by their GUID</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/585525#M9120</link>
      <description>&lt;P&gt;Hi Sam,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;The renovation status specifically can be obtained from every element from there head (See &lt;A href="https://graphisoft.github.io/archicad-api-devkit/struct_a_p_i___elem___head.html" target="_blank"&gt;API_ElemHead&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;Also for reference there's a whole module to handle &lt;A href="https://graphisoft.github.io/archicad-api-devkit/group___renovation.html" target="_blank"&gt;Renovation Filters&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also if you have the GUID of the built-in property it might also be able to obtain the values via the &lt;A href="https://graphisoft.github.io/archicad-api-devkit/group___property.html" target="_blank"&gt;properties api calls&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope that helps,&lt;/P&gt;
&lt;P&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 08:34:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/585525#M9120</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2024-01-26T08:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Getting value of built-in properties by their GUID</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/585740#M9130</link>
      <description>&lt;P&gt;On selected object's &lt;EM&gt;Settings/Classification/Properties&lt;/EM&gt; I see the, like, renovation status and the &lt;EM&gt;Properties/Classifications&lt;/EM&gt;&amp;nbsp;besides each other and I'm about to kind of recreate this UI stuff. This is the reason I want to reach Renovation status etc. through Properties and not via &lt;EM&gt;ElemHead.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;On the other hand, in &lt;EM&gt;ElemHead&lt;/EM&gt; there is a&amp;nbsp;&lt;EM&gt;renovationStatus&lt;/EM&gt; field that is of&amp;nbsp;&lt;EM&gt;&lt;A class="el" href="https://graphisoft.github.io/archicad-api-devkit/group___dialog.html#gae9a40093f4616e2565d7a7595b77c29e" target="_blank"&gt;API_RenovationStatusType&lt;/A&gt;&amp;nbsp;&lt;/EM&gt;that tells me that there is only four (4) types including the &lt;EM&gt;Undefined&lt;/EM&gt; one, so it is safe to set up a GS::HashTable to map GUIDs to GS::UniStrings. Not elegant, but works.&lt;/P&gt;
&lt;P&gt;Note that there are some other fields that I can reach the same way through as a GUID property, and can convert into displayable strings (Position and Structural Function, currently), and it would be another burden to get them but it is more straightforward to use a built in mapping.&lt;/P&gt;
&lt;P&gt;Not elegant, I understand.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 09:05:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/585740#M9130</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2024-01-29T09:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Getting value of built-in properties by their GUID</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/585824#M9134</link>
      <description>&lt;P&gt;Check out&amp;nbsp;the &lt;STRONG&gt;possibleEnumValues&lt;/STRONG&gt; field of&amp;nbsp;&lt;STRONG&gt;API_PropertyDefinition&lt;/STRONG&gt;. It contains exactly what you are looking for.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 20:13:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/585824#M9134</guid>
      <dc:creator>Viktor Kovacs</dc:creator>
      <dc:date>2024-01-29T20:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Getting value of built-in properties by their GUID</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/585833#M9135</link>
      <description>&lt;P&gt;FYI: If you are just interested in the values of BuiltIn properties, check out the Dev. Kit Example Property_Test, specifically the Function: SavePropertyValuesOf Element( ). It returns all the property values and Definitions. i use this function to return all the built in values in one single command to a Python script. It is extremely fast&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jan 2024 21:39:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/585833#M9135</guid>
      <dc:creator>poco2013</dc:creator>
      <dc:date>2024-01-29T21:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Getting value of built-in properties by their GUID</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/586690#M9147</link>
      <description>&lt;P&gt;Indeed, this is the stuff I searched for.&lt;/P&gt;
&lt;P&gt;Many thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 13:51:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Getting-value-of-built-in-properties-by-their-GUID/m-p/586690#M9147</guid>
      <dc:creator>Sam Karli</dc:creator>
      <dc:date>2024-02-05T13:51:38Z</dc:date>
    </item>
  </channel>
</rss>

