<?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: Refresh Elements LibPart in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Refresh-Elements-LibPart/m-p/330622#M1443</link>
    <description>&lt;P&gt;reloading the library won't update the parameters in the already placed objects.&amp;nbsp;&lt;SPAN&gt;the new objects will get the modified parameters. for the already placed objects there are some ways to do that&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. you can use the command "&lt;SPAN&gt;Run Parameter Script" on Placed Library Parts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. use the command reset the object settings to default.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;there are other ways that were suggested in the following post&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.graphisoft.com/t5/Developer-forum/Parameter-script-default-value/td-p/308414" target="_blank" rel="noopener"&gt;https://community.graphisoft.com/t5/Developer-forum/Parameter-script-default-value/td-p/308414&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Feb 2022 07:34:44 GMT</pubDate>
    <dc:creator>Ady84a</dc:creator>
    <dc:date>2022-02-22T07:34:44Z</dc:date>
    <item>
      <title>Refresh Elements LibPart</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Refresh-Elements-LibPart/m-p/330532#M1442</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;after I change params of a libPart the changes do not get updated in Archicad right away.&lt;/P&gt;
&lt;P&gt;(Even after ReloadLibraries)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;ACAPI_LibPart_GetParams(libPart.index, &amp;amp;a, &amp;amp;b, &amp;amp;parNum, &amp;amp;params);
ACAPI_LibPart_GetSect_ParamDef(&amp;amp;libPart, params, &amp;amp;a, &amp;amp;b, nullptr, &amp;amp;paramsHdl);
ACAPI_LibPart_UpdateSection(libPart.index, &amp;amp;section, paramsHdl, nullptr);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Those parameters change the GDL's 3D Script (if/else), so the element needs to get the new parameters.&lt;BR /&gt;Can i force that refresh somehow?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;stahL&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 09:23:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Refresh-Elements-LibPart/m-p/330532#M1442</guid>
      <dc:creator>stahL</dc:creator>
      <dc:date>2024-09-09T09:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Elements LibPart</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Refresh-Elements-LibPart/m-p/330622#M1443</link>
      <description>&lt;P&gt;reloading the library won't update the parameters in the already placed objects.&amp;nbsp;&lt;SPAN&gt;the new objects will get the modified parameters. for the already placed objects there are some ways to do that&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. you can use the command "&lt;SPAN&gt;Run Parameter Script" on Placed Library Parts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. use the command reset the object settings to default.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;there are other ways that were suggested in the following post&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.graphisoft.com/t5/Developer-forum/Parameter-script-default-value/td-p/308414" target="_blank" rel="noopener"&gt;https://community.graphisoft.com/t5/Developer-forum/Parameter-script-default-value/td-p/308414&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 07:34:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Refresh-Elements-LibPart/m-p/330622#M1443</guid>
      <dc:creator>Ady84a</dc:creator>
      <dc:date>2022-02-22T07:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Refresh Elements LibPart</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Refresh-Elements-LibPart/m-p/331681#M1444</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;
&lt;P&gt;Could please tell us if you want to update the library part itself or the placed instances?&lt;/P&gt;
&lt;P&gt;Is this library part in the Embedded Library or at some other location in the file system where you can write to?&lt;/P&gt;
&lt;P&gt;Do you receive any error code from any of the functions you listed?&lt;/P&gt;
&lt;P&gt;Thanks, Akos&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 15:54:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Refresh-Elements-LibPart/m-p/331681#M1444</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2022-03-07T15:54:34Z</dc:date>
    </item>
  </channel>
</rss>

