<?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: Any workaround for the removed SetActParameters API in Archicad 28/29? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Any-workaround-for-the-removed-SetActParameters-API-in-Archicad/m-p/680385#M10634</link>
    <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I couldn't find any references to 'SetActParameters' also in older DevKits. I checked DevKit 6.1 and for versions AC22, AC24 and AC27. Which AC versions are you talking about?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If you want to change tool defaults, you'd need depending on your AC version:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;lt;= AC26:&amp;nbsp;APIAny_OpenParametersID, APIAny_GetActParametersID, &lt;STRONG&gt;APIAny_ChangeAParameterID&lt;/STRONG&gt;, APIAny_CloseParametersID&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&amp;gt;= AC27: ACAPI_LibraryPart_OpenParameters, ACAPI_LibraryPart_GetActParameters, &lt;STRONG&gt;ACAPI_LibraryPart_ChangeAParameterID&lt;/STRONG&gt;, ACAPI_LibraryPart_CloseParameters&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;And then use ACAPI_Element_ChangeDefaults.&amp;nbsp;I think running the "ChangeAParameter" functions also runs the parameter script and should populate the dynamic dropdowns, but I'm not 100% sure, so you'll have to try. For more details check the &lt;A href="https://graphisoft.github.io/archicad-api-devkit/group___library_part.html#ga463778c6753dca1de002cd8300599b7b" target="_self"&gt;documentation on the ACAPI_LibraryPart_ChangeAParameterID function&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, 17 Oct 2025 08:19:43 GMT</pubDate>
    <dc:creator>BerndSchwarzenbacher</dc:creator>
    <dc:date>2025-10-17T08:19:43Z</dc:date>
    <item>
      <title>Any workaround for the removed SetActParameters API in Archicad 28/29?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Any-workaround-for-the-removed-SetActParameters-API-in-Archicad/m-p/680350#M10633</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a &lt;STRONG&gt;custom GDL library object&lt;/STRONG&gt; that builds dropdown options dynamically using the &lt;STRONG&gt;PARAMETER script&lt;/STRONG&gt; (via VALUES).&lt;/P&gt;&lt;P&gt;In older Archicad versions, it was possible to “commit” evaluated parameters to &lt;STRONG&gt;tool defaults&lt;/STRONG&gt; (e.g., with SetActParameters / APIAny_SetActParametersID), so when opening &lt;STRONG&gt;Object Tool Settings (defaults)&lt;/STRONG&gt; the dropdown would already be populated.&lt;/P&gt;&lt;P&gt;In Archicad 28/29 that API no longer exists, and since PARAMETER doesn’t run in defaults, the dropdown only shows &lt;STRONG&gt;“TBA”&lt;/STRONG&gt; until an actual element is placed or the script runs some other way.&lt;/P&gt;&lt;P&gt;Static popup lists still work fine — but &lt;STRONG&gt;dynamic dropdowns in my custom object do not&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_right:"&gt;👉&lt;/span&gt; Is there any &lt;STRONG&gt;new API&lt;/STRONG&gt; or known &lt;STRONG&gt;workaround&lt;/STRONG&gt; to trigger or commit PARAMETER evaluation to defaults in 28/29 without placing an element first?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 03:38:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Any-workaround-for-the-removed-SetActParameters-API-in-Archicad/m-p/680350#M10633</guid>
      <dc:creator>Steve Sunny</dc:creator>
      <dc:date>2025-10-17T03:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Any workaround for the removed SetActParameters API in Archicad 28/29?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Any-workaround-for-the-removed-SetActParameters-API-in-Archicad/m-p/680385#M10634</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I couldn't find any references to 'SetActParameters' also in older DevKits. I checked DevKit 6.1 and for versions AC22, AC24 and AC27. Which AC versions are you talking about?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If you want to change tool defaults, you'd need depending on your AC version:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;lt;= AC26:&amp;nbsp;APIAny_OpenParametersID, APIAny_GetActParametersID, &lt;STRONG&gt;APIAny_ChangeAParameterID&lt;/STRONG&gt;, APIAny_CloseParametersID&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&amp;gt;= AC27: ACAPI_LibraryPart_OpenParameters, ACAPI_LibraryPart_GetActParameters, &lt;STRONG&gt;ACAPI_LibraryPart_ChangeAParameterID&lt;/STRONG&gt;, ACAPI_LibraryPart_CloseParameters&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;And then use ACAPI_Element_ChangeDefaults.&amp;nbsp;I think running the "ChangeAParameter" functions also runs the parameter script and should populate the dynamic dropdowns, but I'm not 100% sure, so you'll have to try. For more details check the &lt;A href="https://graphisoft.github.io/archicad-api-devkit/group___library_part.html#ga463778c6753dca1de002cd8300599b7b" target="_self"&gt;documentation on the ACAPI_LibraryPart_ChangeAParameterID function&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, 17 Oct 2025 08:19:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Any-workaround-for-the-removed-SetActParameters-API-in-Archicad/m-p/680385#M10634</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2025-10-17T08:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Any workaround for the removed SetActParameters API in Archicad 28/29?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Any-workaround-for-the-removed-SetActParameters-API-in-Archicad/m-p/680452#M10642</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/173203"&gt;@Steve Sunny&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Is there any &lt;STRONG&gt;new API&lt;/STRONG&gt; or known &lt;STRONG&gt;workaround&lt;/STRONG&gt; to trigger or commit PARAMETER evaluation to defaults in 28/29 without placing an element first?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You could try using &lt;EM&gt;ACAPI_LibraryManagement_RunGDLParScript&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;This runs the object parameter script.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 15:04:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Any-workaround-for-the-removed-SetActParameters-API-in-Archicad/m-p/680452#M10642</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2025-10-17T15:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: Any workaround for the removed SetActParameters API in Archicad 28/29?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Any-workaround-for-the-removed-SetActParameters-API-in-Archicad/m-p/680971#M10655</link>
      <description>&lt;P&gt;That function has a non-optional element header parameter, so it only works for placed objects, not element defaults.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 02:09:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Any-workaround-for-the-removed-SetActParameters-API-in-Archicad/m-p/680971#M10655</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2025-10-22T02:09:04Z</dc:date>
    </item>
  </channel>
</rss>

