<?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: Spline: how to determine the number of points? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Spline-how-to-determine-the-number-of-points/m-p/266787#M8437</link>
    <description>wow) &lt;BR /&gt;
Ralph, thank you so much again!)</description>
    <pubDate>Thu, 10 Mar 2016 18:14:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-10T18:14:50Z</dc:date>
    <item>
      <title>Spline: how to determine the number of points?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Spline-how-to-determine-the-number-of-points/m-p/266785#M8435</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;ArchiCAD API 19.&lt;BR /&gt;&lt;BR /&gt;I need to move and rotate the spline.&lt;BR /&gt;Memo contains **coords but where are stored the number of points?&lt;BR /&gt;&lt;BR /&gt;Thank you!)&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Sep 2024 07:47:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Spline-how-to-determine-the-number-of-points/m-p/266785#M8435</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-24T07:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Spline: how to determine the number of points?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Spline-how-to-determine-the-number-of-points/m-p/266786#M8436</link>
      <description>&lt;BLOCKQUOTE&gt;Tsepov wrote:&lt;BR /&gt;I need to move and rotate the spline.&lt;BR /&gt;
Memo contains **coords but where are stored the number of points?&lt;/BLOCKQUOTE&gt;
You can get the size of the allocated handle and divide it by the size of a single coordinate, e.g. &lt;PRE&gt;BMGetHandleSize((GSHandle) memo.coords) / sizeof(API_Coord)&lt;/PRE&gt;
However, if you want to move and/or rotate the whole spline it would be easier to apply a transformation to the element with &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;ACAPI_Element_Edit&lt;E&gt;&lt;/E&gt; and passing the transformation in a &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;API_EditPars&lt;E&gt;&lt;/E&gt; structure.</description>
      <pubDate>Thu, 10 Mar 2016 09:56:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Spline-how-to-determine-the-number-of-points/m-p/266786#M8436</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2016-03-10T09:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Spline: how to determine the number of points?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Spline-how-to-determine-the-number-of-points/m-p/266787#M8437</link>
      <description>wow) &lt;BR /&gt;
Ralph, thank you so much again!)</description>
      <pubDate>Thu, 10 Mar 2016 18:14:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Spline-how-to-determine-the-number-of-points/m-p/266787#M8437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-10T18:14:50Z</dc:date>
    </item>
  </channel>
</rss>

