<?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 How to get used attributes of element getting from ACAPI_Element_Get? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-used-attributes-of-element-getting-from-ACAPI-Element/m-p/397197#M3853</link>
    <description>&lt;P&gt;Is there anyone know how to get attributes of each element getting from&amp;nbsp;ACAPI_Element_Get and verify whether it is in used or not?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 10:48:38 GMT</pubDate>
    <dc:creator>Newbie</dc:creator>
    <dc:date>2024-09-17T10:48:38Z</dc:date>
    <item>
      <title>How to get used attributes of element getting from ACAPI_Element_Get?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-used-attributes-of-element-getting-from-ACAPI-Element/m-p/397197#M3853</link>
      <description>&lt;P&gt;Is there anyone know how to get attributes of each element getting from&amp;nbsp;ACAPI_Element_Get and verify whether it is in used or not?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 10:48:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-used-attributes-of-element-getting-from-ACAPI-Element/m-p/397197#M3853</guid>
      <dc:creator>Newbie</dc:creator>
      <dc:date>2024-09-17T10:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get used attributes of element getting from ACAPI_Element_Get?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-used-attributes-of-element-getting-from-ACAPI-Element/m-p/397272#M8118</link>
      <description>&lt;P&gt;hehey newbie, waht do you mean with "in use"? do you mean:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. if the property is&amp;nbsp;available for a element?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. if the property has its default value?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. works like this:&lt;/P&gt;
&lt;P&gt;you call "ACAPI_​Element_​GetPropertyDefinitions" to get the available properties for a element&lt;/P&gt;
&lt;P&gt;if a property is not available, you wont recive the propertydefinition of that property.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. works like this:&lt;/P&gt;
&lt;P&gt;with the call "ACAPI_​Element_​GetPropertyValues" you get the "API_Property" struct&lt;/P&gt;
&lt;P&gt;this has a member called "isDefault;" that member tells you if the property has its default value or a custom value set by the user or a api call.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://archicadapi.graphisoft.com/documentation/api_property" target="_blank"&gt;https://archicadapi.graphisoft.com/documentation/api_property&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2023 10:26:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-used-attributes-of-element-getting-from-ACAPI-Element/m-p/397272#M8118</guid>
      <dc:creator>Joel Buehler</dc:creator>
      <dc:date>2023-09-05T10:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get used attributes of element getting from ACAPI_Element_Get?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-used-attributes-of-element-getting-from-ACAPI-Element/m-p/397297#M8499</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A class="" href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/46313" target="_self"&gt;&lt;SPAN class=""&gt;Joel Buehler&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually my query is related to Attribute, knowing each attribute if in used it has to be tie to the element that use it. After getting the element list, I want to check if the element use such attribute or not. For example below, how AC know such attribute is 'InUse'?.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not sure whether my understanding is correct or not.&lt;/P&gt;
&lt;P&gt;Please advise.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-09-05 114906.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/45606iA455B10A84A476C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-05 114906.png" alt="Screenshot 2023-09-05 114906.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 00:49:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-used-attributes-of-element-getting-from-ACAPI-Element/m-p/397297#M8499</guid>
      <dc:creator>Newbie</dc:creator>
      <dc:date>2023-09-12T00:49:02Z</dc:date>
    </item>
  </channel>
</rss>

