<?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 Update doors' properties in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Update-doors-properties/m-p/657862#M10235</link>
    <description>&lt;P&gt;Good day everybody. I have stuck with an issue with updating doors' parameters.&lt;BR /&gt;&lt;BR /&gt;Traditionally I update elements' properties by changing their memos and execute the functions in this order:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ACAPI_Element_GetMemo(element.header.guid, &amp;amp;memo, API_DoorID);&lt;/P&gt;
&lt;P&gt;ACAPI_ELEMENT_MASK_CLEAR(mask);&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(mask, API_DoorType, openingBase.libInd);&lt;BR /&gt;&lt;BR /&gt;&amp;lt;changing memo's values&amp;gt; &lt;BR /&gt;&lt;BR /&gt;and finally I apply the change:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;ACAPI_Element_Change(&amp;amp;element, &amp;amp;mask, &amp;amp;memo, APIMemoMask_AddPars, true);&lt;BR /&gt;&lt;BR /&gt;However, the changes are not applied for some reason.&lt;BR /&gt;&lt;BR /&gt;How do you update doors' parameters without creating a new door and deleting the old door and placing the new door on place of the old?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks to all in advance for the help!&lt;/P&gt;</description>
    <pubDate>Tue, 01 Apr 2025 11:38:23 GMT</pubDate>
    <dc:creator>Emkave</dc:creator>
    <dc:date>2025-04-01T11:38:23Z</dc:date>
    <item>
      <title>Update doors' properties</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Update-doors-properties/m-p/657862#M10235</link>
      <description>&lt;P&gt;Good day everybody. I have stuck with an issue with updating doors' parameters.&lt;BR /&gt;&lt;BR /&gt;Traditionally I update elements' properties by changing their memos and execute the functions in this order:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ACAPI_Element_GetMemo(element.header.guid, &amp;amp;memo, API_DoorID);&lt;/P&gt;
&lt;P&gt;ACAPI_ELEMENT_MASK_CLEAR(mask);&lt;BR /&gt;ACAPI_ELEMENT_MASK_SET(mask, API_DoorType, openingBase.libInd);&lt;BR /&gt;&lt;BR /&gt;&amp;lt;changing memo's values&amp;gt; &lt;BR /&gt;&lt;BR /&gt;and finally I apply the change:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;ACAPI_Element_Change(&amp;amp;element, &amp;amp;mask, &amp;amp;memo, APIMemoMask_AddPars, true);&lt;BR /&gt;&lt;BR /&gt;However, the changes are not applied for some reason.&lt;BR /&gt;&lt;BR /&gt;How do you update doors' parameters without creating a new door and deleting the old door and placing the new door on place of the old?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks to all in advance for the help!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 11:38:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Update-doors-properties/m-p/657862#M10235</guid>
      <dc:creator>Emkave</dc:creator>
      <dc:date>2025-04-01T11:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Update doors' properties</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Update-doors-properties/m-p/658449#M10246</link>
      <description>&lt;P&gt;Hi, The problem may happens when gdl script doesn't executed again after parameters changed. I'd suggest you to use the following commands which can force AC to run gdl script with the updated values:&lt;/P&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;err = ACAPI_LibraryPart_OpenParameters(&amp;amp;paramOwner);
err = ACAPI_LibraryPart_ChangeAParameter(&amp;amp;chgParam);
err = ACAPI_LibraryPart_GetActParameters(&amp;amp;getParams);
ACAPI_LibraryPart_CloseParameters();&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;DIV&gt;You can find sample code in API Examples code (LibPart_Test.cpp).&lt;/DIV&gt;
&lt;DIV&gt;HTH.&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Apr 2025 02:34:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Update-doors-properties/m-p/658449#M10246</guid>
      <dc:creator>Hiromichi Shinkawa</dc:creator>
      <dc:date>2025-04-07T02:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Update doors' properties</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Update-doors-properties/m-p/664973#M10439</link>
      <description>&lt;P&gt;thank you for the proposal, however that did not resolve the issue.&amp;nbsp;&lt;BR /&gt;I found however other thing that if I change parameters A, B or ZZYXZ - the changes are being seen. However, I am still unsure why when changing door parameters such as width, length and height does not do anything to it. All other elements like windows, objects and so on are affected by such change, except for doors.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 08:34:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Update-doors-properties/m-p/664973#M10439</guid>
      <dc:creator>Emkave</dc:creator>
      <dc:date>2025-06-06T08:34:22Z</dc:date>
    </item>
  </channel>
</rss>

