<?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 Polygon input with fixed number of vertices in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Polygon-input-with-fixed-number-of-vertices/m-p/328763#M1420</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using polygon input as described here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://archicadapi.graphisoft.com/documentation/apiio_getpolyid" target="_blank"&gt;https://archicadapi.graphisoft.com/documentation/apiio_getpolyid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is it possible to programatically cancel the polygon input when the polygon has reached a set number of vertices?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it possible to register a callback that is triggered for every vertex that is added. Using this callback my idea is to count the number of times it has been called and cancel the operation when it has reached a certain count. But I&amp;nbsp;cannot find anything regarding "cancelling the operation" though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2022 17:39:00 GMT</pubDate>
    <dc:creator>BenjiDev</dc:creator>
    <dc:date>2022-02-01T17:39:00Z</dc:date>
    <item>
      <title>Polygon input with fixed number of vertices</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Polygon-input-with-fixed-number-of-vertices/m-p/328763#M1420</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using polygon input as described here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://archicadapi.graphisoft.com/documentation/apiio_getpolyid" target="_blank"&gt;https://archicadapi.graphisoft.com/documentation/apiio_getpolyid&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is it possible to programatically cancel the polygon input when the polygon has reached a set number of vertices?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it possible to register a callback that is triggered for every vertex that is added. Using this callback my idea is to count the number of times it has been called and cancel the operation when it has reached a certain count. But I&amp;nbsp;cannot find anything regarding "cancelling the operation" though.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 17:39:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Polygon-input-with-fixed-number-of-vertices/m-p/328763#M1420</guid>
      <dc:creator>BenjiDev</dc:creator>
      <dc:date>2022-02-01T17:39:00Z</dc:date>
    </item>
  </channel>
</rss>

