<?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: Element_Change vs. Element_ChangeParameters  (faster?) in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Element-Change-vs-Element-ChangeParameters-faster/m-p/35672#M7045</link>
    <description>&lt;BLOCKQUOTE&gt;John wrote:&lt;BR /&gt;
Would it be a lot faster?
&lt;/BLOCKQUOTE&gt;

I did a little test:&lt;BR /&gt;
moving 1000 lines to a different layer takes 0.2 seconds &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
7 seconds to 0.2 seconds... yes it _is_ a lot faster &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
cu</description>
    <pubDate>Thu, 02 Mar 2006 18:40:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-03-02T18:40:15Z</dc:date>
    <item>
      <title>Element_Change vs. Element_ChangeParameters  (faster?)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Element-Change-vs-Element-ChangeParameters-faster/m-p/35671#M7044</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;The plugin i am coding has to move many Elements (Lines, Arcs, Polylines) to a different layer.&lt;BR /&gt;I have wrapper-class for each element-type and each element-wrapper-object is synced with the ArchiCAD-Database using "ACAPI_Element_Change" after the layer-id has been changed.&lt;BR /&gt;Moving the elements this way is _very_ slow &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;1000 lines : 7 seconds...&lt;BR /&gt;&lt;BR /&gt;Recently i found the API-Command "ACAPI_Element_ChangeParameters" which seems to change a amount of elements.&lt;BR /&gt;I assume this way would be faster, but it would be difficult for me to change to this method, so i would like to hear about your experiences with that.&lt;BR /&gt;&lt;BR /&gt;Would it be a lot faster?&lt;BR /&gt;&lt;BR /&gt;Thanks for advices &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John&lt;/DIV&gt;</description>
      <pubDate>Mon, 07 Aug 2023 09:16:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Element-Change-vs-Element-ChangeParameters-faster/m-p/35671#M7044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-08-07T09:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: Element_Change vs. Element_ChangeParameters  (faster?)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Element-Change-vs-Element-ChangeParameters-faster/m-p/35672#M7045</link>
      <description>&lt;BLOCKQUOTE&gt;John wrote:&lt;BR /&gt;
Would it be a lot faster?
&lt;/BLOCKQUOTE&gt;

I did a little test:&lt;BR /&gt;
moving 1000 lines to a different layer takes 0.2 seconds &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
7 seconds to 0.2 seconds... yes it _is_ a lot faster &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
cu</description>
      <pubDate>Thu, 02 Mar 2006 18:40:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Element-Change-vs-Element-ChangeParameters-faster/m-p/35672#M7045</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-02T18:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Element_Change vs. Element_ChangeParameters  (faster?)</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Element-Change-vs-Element-ChangeParameters-faster/m-p/35673#M7046</link>
      <description>Wow, that is faster!!</description>
      <pubDate>Thu, 02 Mar 2006 18:59:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Element-Change-vs-Element-ChangeParameters-faster/m-p/35673#M7046</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-03-02T18:59:51Z</dc:date>
    </item>
  </channel>
</rss>

