<?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: How to move railing vertices? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/680444#M10640</link>
    <description>&lt;P&gt;Hi Bernd,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately due to a known bug in the API this is not possible. I'll try to raise its priority...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best, Akos&lt;/P&gt;</description>
    <pubDate>Fri, 17 Oct 2025 14:25:39 GMT</pubDate>
    <dc:creator>Akos Somorjai</dc:creator>
    <dc:date>2025-10-17T14:25:39Z</dc:date>
    <item>
      <title>How to move railing vertices?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/678308#M10595</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm struggling with moving the vertices of a railing.&amp;nbsp;Here's a minimal example of the code I'm using:&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;err = ACAPI_CallUndoableCommand ("Move Railing Test", [](){
  GS::Array&amp;lt;API_Guid&amp;gt; railingList{};
  GSErrCode err = ACAPI_Element_GetElemList (API_RailingID, &amp;amp;railingList,
    APIFilt_IsEditable | APIFilt_InMyWorkspace | APIFilt_OnActFloor
  );
  if (err != NoError) { return err; }

  for (auto elemGuid : railingList) {
    API_Element elem{};
    elem.header.guid = elemGuid;
    err = ACAPI_Element_Get (&amp;amp;elem, 0);
    if (err != NoError) { return err; }

    API_ElementMemo memo{};
    GS::UInt64 memoMask = APIMemoMask_Polygon;
    err = ACAPI_Element_GetMemo (elemGuid, &amp;amp;memo, memoMask);
    if (err != NoError) { return err; }

    for (GS::UInt32 i = 1; i &amp;lt;= elem.railing.nVertices; ++i) {
      (*memo.coords)[i].x += 1.0;
    }

    err = ACAPI_Element_ChangeMemo (elemGuid, memoMask, &amp;amp;memo);
    if (err != NoError) { return err; }
  }

  return err;
});
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you draw a railing and the try to execute the command, I want it to move all vertices 1m to the right.&lt;BR /&gt;The `ACAPI_Element_ChangeMemo` command doesn't return any errors but also the railing doesn't change it's position. I've also tried `ACAPI_Element_Change` without success.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example projects don't seem to contain any similar code either.&amp;nbsp;The other railing elements (nodes etc.) don't seem to contain coordinates, so I'm not sure what I'm missing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;BR /&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Tue, 30 Sep 2025 09:15:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/678308#M10595</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2025-09-30T09:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to move railing vertices?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/678803#M10606</link>
      <description>&lt;P&gt;Hi Bernd,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried ACAPI_Element_Edit()?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best, Akos&lt;/P&gt;</description>
      <pubDate>Fri, 03 Oct 2025 06:45:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/678803#M10606</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2025-10-03T06:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to move railing vertices?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/679002#M10607</link>
      <description>&lt;P&gt;Hi Akos,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't tried it, because for my actual problem I want to move the vertices in different directions. Everything +1m to the right was just to simplify the code here.&lt;BR /&gt;I'll try it though! Maybe I also have to move the railing nodes etc. with the edit command.&lt;BR /&gt;&lt;BR /&gt;Thanks so much for the hint! I'll report back once I'm home from GSIgnite and have time to try it. Hope to see you in Budapest &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Tue, 07 Oct 2025 07:18:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/679002#M10607</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2025-10-07T07:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to move railing vertices?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/680282#M10627</link>
      <description>&lt;P&gt;Hi Akos,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Moving the whole railing with ACAPI_Element_Edit works. But I wasn't able to figure out how to move single vertices of the railing.&lt;BR /&gt;I've tried a lot of different scenarios with ACAPI_Element_Edit &amp;amp; ACAPI_Element_ChangeMemo.&lt;BR /&gt;Passing single railing nodes to the Edit function didn't work, neither does changing the poly coords with change memo.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any hints or ideas what else I could try or what's the intended way is?&lt;BR /&gt;Unfortunately the examples also don't have anything for editing single vertices of railings.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Bernd&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to move single vertices of the reference line, I wasn'tNone of it worked so far&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 14:36:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/680282#M10627</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2025-10-16T14:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to move railing vertices?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/680444#M10640</link>
      <description>&lt;P&gt;Hi Bernd,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately due to a known bug in the API this is not possible. I'll try to raise its priority...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best, Akos&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 14:25:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/680444#M10640</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2025-10-17T14:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to move railing vertices?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/680800#M10649</link>
      <description>&lt;P&gt;Thanks Akos for looking into this and raising the priority!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How does it typically work if there comes a bug fix like this. Is it typically only in the newest DevKit or are they also incorporated in older DevKits?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Tue, 21 Oct 2025 08:28:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/680800#M10649</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2025-10-21T08:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to move railing vertices?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/683066#M10688</link>
      <description>&lt;P&gt;Hi Bernd,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A similar bug has been fixed in Archicad 28; &amp;nbsp;which version do you use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bugfixes are part of Archicad Updates or Hotfixes, and are ported back to previous versions only in very rare cases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best, Akos&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 13:03:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/683066#M10688</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2025-11-07T13:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to move railing vertices?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/683083#M10691</link>
      <description>&lt;P&gt;Akos,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the hint!&amp;nbsp;If I remember correctly I've tried it with both AC26.7004 &amp;amp; DevKit 26.7000 and AC29.3000 &amp;amp; DevKit 29.3000.&lt;BR /&gt;&lt;BR /&gt;I'll give it a try with newest AC28 &amp;amp; AC29 again and report back.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Fri, 07 Nov 2025 14:31:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/683083#M10691</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2025-11-07T14:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to move railing vertices?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/683252#M10693</link>
      <description>&lt;P&gt;Akos,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried it with more versions now and unfortunately it doesn't work with any of them.&lt;BR /&gt;This is a list of versions I've tried (all of them INT language versions)&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;26.7004 - DevKit 26.7000&lt;/LI&gt;
&lt;LI&gt;27.6080 - DevKit 27.6003&lt;/LI&gt;
&lt;LI&gt;28.6100 - DevKit 28.4001&lt;/LI&gt;
&lt;LI&gt;29.3100 - DevKit 29.3100&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;A fix for AC29 would be great &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; I think AC28 would be not strictly necessary for us, but could help in case AC29 can't be used.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot for your help and all the information!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;BR /&gt;Bernd&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 13:58:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-move-railing-vertices/m-p/683252#M10693</guid>
      <dc:creator>BerndSchwarzenbacher</dc:creator>
      <dc:date>2025-11-10T13:58:43Z</dc:date>
    </item>
  </channel>
</rss>

