<?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 do I modify the value of a property in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-do-I-modify-the-value-of-a-property/m-p/397673#M8563</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I created a property for an element using the &lt;STRONG&gt;ACAPI_Element_SetProperty(guid, property)&lt;/STRONG&gt; method and assigned a value to it using the following method.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modify2.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/45520i13732F039D6A5E2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modify2.png" alt="modify2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next I use the following method to add the properties created above to the other elements.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modify1.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/45521i9B71EB311BCDF145/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modify1.png" alt="modify1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that only the first element has a default value, and the element with &lt;STRONG&gt;ACAPI_ElementList_AddProperty(property.definition, guidArrary)&lt;/STRONG&gt; has no default value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried it out using the&lt;STRONG&gt; ACAPI_ElementList_ModifyPropertyValue&lt;/STRONG&gt; method, as shown below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modify3.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/45522i80BBEC9B0A1FF373/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modify3.png" alt="modify3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is how do I change the value of an attribute of an element. Please give me some help with this.&lt;/P&gt;
&lt;P&gt;thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 10:47:56 GMT</pubDate>
    <dc:creator>luna</dc:creator>
    <dc:date>2024-09-17T10:47:56Z</dc:date>
    <item>
      <title>How do I modify the value of a property</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-do-I-modify-the-value-of-a-property/m-p/397673#M8563</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I created a property for an element using the &lt;STRONG&gt;ACAPI_Element_SetProperty(guid, property)&lt;/STRONG&gt; method and assigned a value to it using the following method.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modify2.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/45520i13732F039D6A5E2D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modify2.png" alt="modify2.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Next I use the following method to add the properties created above to the other elements.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modify1.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/45521i9B71EB311BCDF145/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modify1.png" alt="modify1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is that only the first element has a default value, and the element with &lt;STRONG&gt;ACAPI_ElementList_AddProperty(property.definition, guidArrary)&lt;/STRONG&gt; has no default value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried it out using the&lt;STRONG&gt; ACAPI_ElementList_ModifyPropertyValue&lt;/STRONG&gt; method, as shown below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modify3.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/45522i80BBEC9B0A1FF373/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modify3.png" alt="modify3.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is how do I change the value of an attribute of an element. Please give me some help with this.&lt;/P&gt;
&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 10:47:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-do-I-modify-the-value-of-a-property/m-p/397673#M8563</guid>
      <dc:creator>luna</dc:creator>
      <dc:date>2024-09-17T10:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: How do I modify the value of a property</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-do-I-modify-the-value-of-a-property/m-p/397676#M8564</link>
      <description>&lt;P&gt;P.S.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This is a property added for other elements and does not have the value I set.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modify4.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/45523i14C2E0CEE5A38BE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modify4.png" alt="modify4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="modify5.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/45524iB940EF04A14E4047/image-size/medium?v=v2&amp;amp;px=400" role="button" title="modify5.png" alt="modify5.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 08:03:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-do-I-modify-the-value-of-a-property/m-p/397676#M8564</guid>
      <dc:creator>luna</dc:creator>
      <dc:date>2023-09-08T08:03:39Z</dc:date>
    </item>
    <item>
      <title>How to modify the value of an attribute?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-do-I-modify-the-value-of-a-property/m-p/397788#M8573</link>
      <description>&lt;P&gt;Hi, is anybody there?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I modify a certain property value of an&amp;nbsp;&lt;/SPAN&gt;element?&lt;/P&gt;&lt;P&gt;I used &lt;STRONG&gt;ACAPI_ElementList_ModifyPropertyValue&lt;/STRONG&gt; but it didn't work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 03:21:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-do-I-modify-the-value-of-a-property/m-p/397788#M8573</guid>
      <dc:creator>luna</dc:creator>
      <dc:date>2023-09-11T03:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I modify the value of a property</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-do-I-modify-the-value-of-a-property/m-p/399143#M8608</link>
      <description>&lt;P&gt;Might be a little late, but for a single element try using &lt;A href="https://archicadapi.graphisoft.com/documentation/acapi_element_setproperty" target="_self"&gt;ACAPI_Element_SetProperty&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 16:01:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-do-I-modify-the-value-of-a-property/m-p/399143#M8608</guid>
      <dc:creator>Lk__</dc:creator>
      <dc:date>2023-09-21T16:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I modify the value of a property</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-do-I-modify-the-value-of-a-property/m-p/399493#M8615</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Yes, I am using it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank&amp;nbsp;&lt;/SPAN&gt;you!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 08:46:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-do-I-modify-the-value-of-a-property/m-p/399493#M8615</guid>
      <dc:creator>luna</dc:creator>
      <dc:date>2023-09-25T08:46:09Z</dc:date>
    </item>
  </channel>
</rss>

