<?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 Using parameter buffers for a dynamic polygon in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Using-parameter-buffers-for-a-dynamic-polygon/m-p/579323#M44521</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking to create something like a fill object. It doesn't need any curved sides but I would like to be able to add and remove points using nodes. I currently have an object working where I can add and remove nodes to increase the number of lines to create a fill but it is limited in that I have made if statements specifically for number of sides up to 10. I would ideally like to be able to have it automated beyond that without having to create an if statement for each possibility. I have nodes that can create additional lines infinitely, it's just a case of being able to automate those points into being a poly / fill. The only way I can possibly see this working is by using the parameter buffer but I haven't had any experience with it and I'm not even sure if this is something that's possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 14:21:22 GMT</pubDate>
    <dc:creator>JGoode</dc:creator>
    <dc:date>2023-12-07T14:21:22Z</dc:date>
    <item>
      <title>Using parameter buffers for a dynamic polygon</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Using-parameter-buffers-for-a-dynamic-polygon/m-p/579323#M44521</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking to create something like a fill object. It doesn't need any curved sides but I would like to be able to add and remove points using nodes. I currently have an object working where I can add and remove nodes to increase the number of lines to create a fill but it is limited in that I have made if statements specifically for number of sides up to 10. I would ideally like to be able to have it automated beyond that without having to create an if statement for each possibility. I have nodes that can create additional lines infinitely, it's just a case of being able to automate those points into being a poly / fill. The only way I can possibly see this working is by using the parameter buffer but I haven't had any experience with it and I'm not even sure if this is something that's possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 14:21:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Using-parameter-buffers-for-a-dynamic-polygon/m-p/579323#M44521</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2023-12-07T14:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Using parameter buffers for a dynamic polygon</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Using-parameter-buffers-for-a-dynamic-polygon/m-p/579380#M44522</link>
      <description>&lt;P&gt;The best way would be to modify the dynamic poly line object that sincev6 has shared.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 23:04:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Using-parameter-buffers-for-a-dynamic-polygon/m-p/579380#M44522</guid>
      <dc:creator>SenecaDesignLLC</dc:creator>
      <dc:date>2023-12-07T23:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using parameter buffers for a dynamic polygon</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Using-parameter-buffers-for-a-dynamic-polygon/m-p/579381#M44523</link>
      <description>&lt;P&gt;If you have a polyline object, you quite possibly have everything you need already.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just tried with one I have and in the 2D script it places a POLY2 and GETs the parameters from a stored array.&lt;/P&gt;
&lt;P&gt;It is a very old version of the dynamic polyline object SenecaDesign mentioned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So that object uses PUT to store the parameters and GET to retrieve them&lt;/P&gt;
&lt;P&gt;It draws the POLY2 but has a frame fill status of '1' - so it doesn't close the ployline and doesn't add a fill.&lt;/P&gt;
&lt;P&gt;So just make sure you SET the fill you want before the POLY2 command, and change the frame status to '7'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your polyline object does not use a POLY2 for the output, then we will have to think of something else, or use the dynamic polyline object.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198874" target="_blank"&gt;https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198874&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 00:38:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Using-parameter-buffers-for-a-dynamic-polygon/m-p/579381#M44523</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-12-08T00:38:22Z</dc:date>
    </item>
  </channel>
</rss>

