<?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: Dynamic Polyline base code object in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/401196#M5714</link>
    <description>&lt;P&gt;Thanks for your contribution, since6V! Here's my minimal, stripped down version of a dynamic polygon for AC26. I've used it for a customer project that wasn't publicly available, so to keep in line with the spirit of this thread, I'll make it available here. It doesn't contain anything novel, but maybe it could be useful as a clean starting template. If memory serves, I think I adapted it from the original polyline code without noticing that there was a polygon version too. I copied the area calculation code from the polygon version. No guarantee of correct operation...&lt;/P&gt;</description>
    <pubDate>Fri, 06 Oct 2023 09:33:07 GMT</pubDate>
    <dc:creator>NBGheikki</dc:creator>
    <dc:date>2023-10-06T09:33:07Z</dc:date>
    <item>
      <title>Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198874#M5271</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello everyone.&lt;BR /&gt;&lt;BR /&gt;In the past couple of months I've been in a GDL streak creating, updating and fixing lots of little self made parts... and the code just seemed to flow; so I tackled my wish to have (make, to learn, in my case) a dynamic polyline. A few months ago, I sketched a new "parking place" object that I wanted, but just didn't have the time to do; and didn't &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;really need because I've just been adding stuff and parameters to the GS parking place object for years.&lt;BR /&gt;&lt;BR /&gt;I did some research a few years ago, but just kept the links for reference. Now that I was naturally digging into GDL again, I though I could make it possible.&lt;BR /&gt;&lt;BR /&gt;The basic code for a Dynamic Polyline is useful for me; and I thought many people here could benefit from it. I tried several approaches for two weeks trying to make it work the way I wanted (I'm really no expert in GDL). It solves a few issues and serves as learning resource too, as it dynamically adds points to the polyline between segments, adds points at the end, dynamically removes points and dynamically grows and shrinks arrays.&lt;BR /&gt;&lt;BR /&gt;I already have other ideas for this, like a 3D railing (the code already has Z for each point). I'm not putting it in BIMcomponents (this is for AC15+) or the Depository as it is not a final product.&lt;BR /&gt;&lt;BR /&gt;I hope you find it useful, if you do, leave a comment; &lt;STRONG&gt;the only condition is that if you use it for something, you must post back the developed object with the code unlocked so other people can see how to implement it in new objects.&lt;/STRONG&gt; (so please, no locked commercial derivatives... this is for the community)&lt;BR /&gt;&lt;BR /&gt;Thanks to the plethora of information found in this community.&lt;/DIV&gt;
&lt;DIV class="actalk-migrated-content"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="actalk-migrated-content"&gt;&lt;A href="https://community.graphisoft.com/t5/Libraries-objects/Adding-points-to-a-polyline-at-runtime-Is-it-possible/m-p/111807?highlight=polyline&amp;amp;p=164099#164099" target="_blank" rel="noopener"&gt;https://community.graphisoft.com/t5/Libraries-objects/Adding-points-to-a-polyline-at-runtime-Is-it-possible/m-p/111807?highlight=polyline&amp;amp;p=164099#164099&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="actalk-migrated-content"&gt;&lt;A href="https://community.graphisoft.com/t5/Libraries-objects/Really-Dynamic-arrays-as-parameters-of-GDL-objects/m-p/119629?highlight=dynamic%20array&amp;amp;p=167325#167325" target="_blank" rel="noopener"&gt;https://community.graphisoft.com/t5/Libraries-objects/Really-Dynamic-arrays-as-parameters-of-GDL-objects/m-p/119629?highlight=dynamic%20array&amp;amp;p=167325#167325&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="actalk-migrated-content"&gt;&lt;A href="https://community.graphisoft.com/t5/Libraries-objects/Aggregating-an-array/m-p/182342?highlight=dynamic%20array&amp;amp;p=163424#163424" target="_blank" rel="noopener"&gt;https://community.graphisoft.com/t5/Libraries-objects/Aggregating-an-array/m-p/182342?highlight=dynamic%20array&amp;amp;p=163424#163424&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="actalk-migrated-content"&gt;&lt;A href="https://community.graphisoft.com/t5/Libraries-objects/Graphical-editing-and-arrays/m-p/81086?p=117388&amp;amp;sid=84c8152f200b0e00fce3c5ca31cce51e" target="_blank" rel="noopener"&gt;https://community.graphisoft.com/t5/Libraries-objects/Graphical-editing-and-arrays/m-p/81086?p=117388&amp;amp;sid=84c8152f200b0e00fce3c5ca31cce51e&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="actalk-migrated-content"&gt;&lt;A href="https://community.graphisoft.com/t5/Libraries-objects/Limiting-Range-Of-Parameter-Arrays/td-p/170923?postdays=0&amp;amp;postorder=asc&amp;amp;sid=5b2fa8fde8d25eb7fea4ddb38d96c8ff&amp;amp;start=30&amp;amp;t=30992" target="_blank" rel="noopener"&gt;https://community.graphisoft.com/t5/Libraries-objects/Limiting-Range-Of-Parameter-Arrays/td-p/170923?postdays=0&amp;amp;postorder=asc&amp;amp;sid=5b2fa8fde8d25eb7fea4ddb38d96c8ff&amp;amp;start=30&amp;amp;t=30992&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV class="actalk-migrated-content"&gt;&lt;BR /&gt;Enjoy.&lt;BR /&gt;&lt;BR /&gt;The "Dynamic Polyline ER" base code object:&lt;BR /&gt;&lt;BR /&gt;EDIT: new version: added a few things, like length of the segments, and a visual constraint for the first segment to keep at least 2 points.&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:46:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198874#M5271</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2024-09-26T11:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198875#M5272</link>
      <description>Thank you very much for sharing!&lt;BR /&gt;
At that time (I had time) I studied this problem to write an object for claddings. So I needed a closed dynamic polygone to be used to define a slab to be oriented anyhow in the space ... &lt;BR /&gt;
I see that your dynamic polyline cannot be closed. Right?</description>
      <pubDate>Wed, 25 Sep 2013 06:35:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198875#M5272</guid>
      <dc:creator>alemanda</dc:creator>
      <dc:date>2013-09-25T06:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198876#M5273</link>
      <description>to alemanda:&lt;BR /&gt;
&lt;BR /&gt;
Its german but its what You need i think..&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.youtube.com/watch?v=d1gVAqX6vhc&amp;amp;feature=youtu.be" target="_blank"&gt;&lt;LINK_TEXT text="http://www.youtube.com/watch?v=d1gVAqX6 ... e=youtu.be"&gt;http://www.youtube.com/watch?v=d1gVAqX6vhc&amp;amp;feature=youtu.be&lt;/LINK_TEXT&gt;&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
And on the Bim-portal You can Download the Part (2 Parts) by searching for:&lt;BR /&gt;
&lt;BR /&gt;
Fliesenteilungen12_2012 a1&lt;BR /&gt;
&lt;BR /&gt;
and&lt;BR /&gt;
&lt;BR /&gt;
Fliesenteilungen12_2012 b1&lt;BR /&gt;
&lt;BR /&gt;
the difference is - You can usw on for the bottoms - one for the walls</description>
      <pubDate>Wed, 25 Sep 2013 14:04:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198876#M5273</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2013-09-25T14:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object (and polygon)</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198877#M5274</link>
      <description>That base code is to be used with an open polyline/path. You can "close" it in the sense that you can drag the last point to the object's origin, but it won't stay closed.&lt;BR /&gt;
&lt;BR /&gt;
But, the code is simple enough that with only a few modifications, it can do what you want.&lt;BR /&gt;
&lt;BR /&gt;
Here it is, modified for you.&lt;BR /&gt;
I included the area calculation based on:&lt;BR /&gt;
&lt;A href="http://www.wikihow.com/Calculate-the-Area-of-a-Polygon" target="_blank"&gt;http://www.wikihow.com/Calculate-the-Area-of-a-Polygon&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
The script won't check for overlapping segments... so it will give you the area based on clockwise or counterclockwise coordinates (so, some area polygons will have positive area, others negative area). It is the same result if you use the measure tool and trace over all the segments (following their order) including the overlapping  segments.&lt;BR /&gt;
&lt;BR /&gt;
The 3D script will do nothing more than lift the points.&lt;BR /&gt;
&lt;BR /&gt;
You can extend it to show whatever you need. If you do, share what you accomplish!&lt;BR /&gt;
&lt;BR /&gt;
Best regards.</description>
      <pubDate>Wed, 25 Sep 2013 19:42:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198877#M5274</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2013-09-25T19:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198878#M5275</link>
      <description>Hi sinceV6. Nice job. Is it possible to move the first point too? Makes it more useful.</description>
      <pubDate>Sun, 29 Sep 2013 19:47:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198878#M5275</guid>
      <dc:creator>Pertti Paasky</dc:creator>
      <dc:date>2013-09-29T19:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198879#M5276</link>
      <description>&lt;BLOCKQUOTE&gt;Pertti wrote:&lt;BR /&gt;Hi sinceV6. Nice job. Is it possible to move the first point too? Makes it more useful.&lt;/BLOCKQUOTE&gt;

Hi.&lt;BR /&gt;
&lt;BR /&gt;
Sure thing. There's already an option for that. Just turn on the "make first hotspot movable" option.&lt;BR /&gt;
&lt;BR /&gt;
Best regards.</description>
      <pubDate>Sun, 29 Sep 2013 20:28:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198879#M5276</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2013-09-29T20:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198880#M5277</link>
      <description>OK, I got it. thanks.</description>
      <pubDate>Sun, 29 Sep 2013 21:00:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198880#M5277</guid>
      <dc:creator>Pertti Paasky</dc:creator>
      <dc:date>2013-09-29T21:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198881#M5278</link>
      <description>&lt;P&gt;Now i had time to look at Your code.. and i am sure not to understand the half of it.- Wow! &lt;BR /&gt;&lt;BR /&gt;I wish this would have existed when i made my own little steps in this topic. This seems to be exact the "base" for what i was looking for to make a functioning 3D-Railing, a much easier GDL für sewer than i tried to make and so on..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have to learn much! That's for sure.&lt;BR /&gt;&lt;BR /&gt;I will try to adapt this für my existing sewer-Part.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=42112&amp;amp;start=10" target="_blank" rel="noopener"&gt;https://community.graphisoft.com/t5/Libraries-objects/Sewer-Library-part/td-p/133353?start=10&amp;amp;t=42112&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Nov 2023 12:07:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198881#M5278</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2023-11-15T12:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198882#M5279</link>
      <description>Hi out there!&lt;BR /&gt;
&lt;BR /&gt;
I took Your polygon-code and programmd my sewer object complete new:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://www.dropbox.com/s/eme47bhjzfwj13d/Kanal_K.pln" target="_blank"&gt;https://www.dropbox.com/s/eme47bhjzfwj13d/Kanal_K.pln&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Its in german till now but i'll try to translate it later.&lt;BR /&gt;
&lt;BR /&gt;
I cheated with the growing polygone - and made it for just 50 Points, that should do it anyway, but Your functionality is still working.&lt;BR /&gt;
 &lt;BR /&gt;
Enjoy and feel free..&lt;BR /&gt;
&lt;BR /&gt;
Greetings from Austria - Salzburg</description>
      <pubDate>Wed, 13 Nov 2013 15:39:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198882#M5279</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2013-11-13T15:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198883#M5280</link>
      <description>Hey! That's great work right there!&lt;BR /&gt;
I'm glad you found it useful. I would like to see the finished object though... and translated. My german is practically non-existent. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
Is it finished? I see numbers change when adding or removing points, and I assume they should remain constant.&lt;BR /&gt;
&lt;BR /&gt;
Let us now when you finish! Would like to see the complete code.&lt;BR /&gt;
&lt;BR /&gt;
Best regards.</description>
      <pubDate>Wed, 13 Nov 2013 21:19:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198883#M5280</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2013-11-13T21:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198884#M5281</link>
      <description>Its still buggy now and i have to make some restrictions in some parameters too. The numbers should change - thats a feature, the number of a point should be left out if there is no double-circle..&lt;BR /&gt;
&lt;BR /&gt;
It will take som days to get it to work probberly an then there will be an english version. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 14 Nov 2013 15:54:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198884#M5281</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2013-11-14T15:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198885#M5282</link>
      <description>&lt;A href="https://www.dropbox.com/s/bjqpf7oqkfzspvp/Kanal_M.pln" target="_blank"&gt;https://www.dropbox.com/s/bjqpf7oqkfzspvp/Kanal_M.pln&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
This Edu-pln contains an english and the german version - so far as my english knowledge can make it possible.&lt;BR /&gt;
&lt;BR /&gt;
i also  ried to translate parts of the 2D-script - which is the complexer part..&lt;BR /&gt;
&lt;BR /&gt;
When there is time, ill make an english tutorial for it.&lt;BR /&gt;
Now You have to look at the german Youtube, but You can see the spirit..&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.youtube.com/watch?v=vfEBqExcyvY" target="_blank"&gt;www.youtube.com/watch?v=vfEBqExcyvY&lt;/A&gt;</description>
      <pubDate>Sat, 16 Nov 2013 19:08:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198885#M5282</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2013-11-16T19:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198886#M5283</link>
      <description>Just another project with Your polygone-script..&lt;BR /&gt;
&lt;BR /&gt;
I made this things with my try in this topic and put my code to Your polygon-code.. its sometimes a little buggy but now its possibel to draw "walls" with different bottomhights..&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.youtube.com/watch?v=-FFodVedw4U&amp;amp;feature=youtu.be" target="_blank"&gt;www.youtube.com/watch?v=-FFodVedw4U&amp;amp;feature=youtu.be&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
its in uplad for a few minutes..&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
To have a look at the code: /AC16EduAut.pln..)&lt;BR /&gt;
&lt;A href="https://www.dropbox.com/s/wcvwjz0owsbd4aj/Polygonzug_Wand.pln" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="https://www.dropbox.com/s/wcvwjz0owsbd4aj/Polygonzug_Wand.pln" target="_blank"&gt;&lt;/A&gt;&lt;A href="https://www.dropbox.com/s/wcvwjz0owsbd4aj/Polygonzug_Wand.pln" target="_blank"&gt;&lt;/A&gt;&lt;/S&gt;&lt;LINK_TEXT text="https://www.dropbox.com/s/wcvwjz0owsbd4 ... g_Wand.pln"&gt;https://www.dropbox.com/s/wcvwjz0owsbd4aj/Polygonzug_Wand.pln&lt;/LINK_TEXT&gt;&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Mon, 18 Nov 2013 17:51:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198886#M5283</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2013-11-18T17:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198887#M5284</link>
      <description>sinceV6,&lt;BR /&gt;
&lt;BR /&gt;
Congrats for your Dynamic PolyLine. Thanks for sharing. &lt;BR /&gt;
I like the cross sign at the end for adding a new segment.&lt;BR /&gt;
&lt;BR /&gt;
I notice an unexpected behavior with Z coords when removing points. See attached image.&lt;BR /&gt;
Is it intended to work this way?&lt;BR /&gt;
&lt;BR /&gt;
Best regards,&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/13723i5CC129C0E427990F/image-size/large?v=v2&amp;amp;px=999" border="0" alt="z coords &amp;amp; removing points.png" title="z coords &amp;amp; removing points.png" /&gt;</description>
      <pubDate>Thu, 28 Nov 2013 19:44:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198887#M5284</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-28T19:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198888#M5285</link>
      <description>Hi Olivier.&lt;BR /&gt;
It's a real honor to hear from you. Each of your objects is a masterpiece! I've learned a few tricks from them. Thank you for sharing all that work.&lt;BR /&gt;
&lt;BR /&gt;
I'm aware of the issue. In its current version, for removing points, the script iterates from the first to the last point checking the next segment´s length, and always removes the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;next&lt;E&gt;&lt;/E&gt; segment from the edited point regardless of where it is dropped (previous point or next one). This works OK for X and Y coordinates, but for Z does not, as you point out.&lt;BR /&gt;
&lt;BR /&gt;
I was trying several approaches to solve that, but I had to move to other things, so I added the Z to that block in the script. It has that small caveat for now: in your example, moving point #4 will remove segment from #4 to #5, thus giving its Z value to point #5 even if you move it to the previous point.&lt;BR /&gt;
&lt;BR /&gt;
The block in the Master script that controls this is&lt;BR /&gt;
"!=== FOR REMOVING POINTS====&lt;BR /&gt;
the bunch of code&lt;BR /&gt;
========================"&lt;BR /&gt;
&lt;BR /&gt;
I have a few unsuccessful options lying around. I tried to find a way within that block and the already set up parameters so that only that part would need to be changed (copied/pasted to other objects based on this), but I remember I found it might need a couple more of placeholder parameters just to move Z coordinates around, depending on the point being edited.&lt;BR /&gt;
&lt;BR /&gt;
Before I paused its development, I realized I'd like to rewrite the parts that control adding and removing points and try to make them simpler. Those two blocks in the master script are the ones that control the basic functionality.&lt;BR /&gt;
&lt;BR /&gt;
I'm afraid to say that I currently lack time to fully revise it. I'm open to ideas/solutions though. When I find some time, I will revise the Z coordinate or rewrite entirely those blocks; in the meantime, if you like to contribute to the code, it would be great. I think the code is clear and commented, each code block has a title indicating what it does, and variables' names are self-explanatory.&lt;BR /&gt;
&lt;BR /&gt;
Best regards.</description>
      <pubDate>Thu, 28 Nov 2013 23:56:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198888#M5285</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2013-11-28T23:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198889#M5286</link>
      <description>&lt;BLOCKQUOTE&gt;sinceV6 wrote:&lt;BR /&gt; if you like to contribute to the code, it would be great. I think the code is clear and commented, each code block has a title indicating what it does, and variables' names are self-explanatory.&lt;/BLOCKQUOTE&gt;

Fully agree. Your code is clear and well commented. A pleasure.&lt;BR /&gt;
&lt;BR /&gt;
I was trying your code on a tube object, when I realized this particular problem. Not a major issue.&lt;BR /&gt;
I asked you because I did not find a quick solution  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt; . I will try again.&lt;BR /&gt;
&lt;BR /&gt;
Attached two objects, in case somebody has an idea. &lt;BR /&gt;
 &lt;BR /&gt;
The first one uses Petri Leeskinen's code (free form window) for dynamic polyline.&lt;BR /&gt;
Fine, but a bit complicated. Coords numbering is a mess.&lt;BR /&gt;
Cons, you need to break the last segment to add a new one at the end.&lt;BR /&gt;
&lt;BR /&gt;
The second object uses your dynamic polyline code, with minor changes.&lt;BR /&gt;
Once this Z coord problem solved, it will be perfect for me.&lt;BR /&gt;
&lt;BR /&gt;
Not sure if it works correctly with imperials, sorry.&lt;BR /&gt;
&lt;BR /&gt;
Best regards,</description>
      <pubDate>Fri, 29 Nov 2013 19:18:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198889#M5286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-29T19:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198890#M5287</link>
      <description>WOW Olivier. Sweet work as usual! I can see where you are going with those objects. How do you code that fast?!?&lt;BR /&gt;
&lt;BR /&gt;
I also couldn't find a quick solution for the Z coord, at least not one that could be implemented and confined within that block and only with the available parameters.&lt;BR /&gt;
&lt;BR /&gt;
I can see that Petri's code works as expected, albeit a tad complex, and I noticed the coords numbering problem. I thought modifying it to add a last hotspot (to add points, instead of breaking the last segment) would solve your issues, but I guess the numbering problem wouldn't be addressed and a good part would need to be rewritten or reorganized for this. Didn't take the full plunge into the code, but I can see that my approach is more direct (to adding and removing points) and Petri's is more indirect - by first checking what point or coords are moved/edited and then taking action accordingly. I think the two approaches would need to be combined to solve all issues. &lt;BR /&gt;
&lt;BR /&gt;
As soon as I find time, I will review Petri's code to see how it works and try to solve (or rewrite) my code and publish a step by step on what to change if objects have been developed using this; but not being as proficient in GDL as you I'm afraid you'll beat me to the answer &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
Attached are some of the options I kept when looking for a solution. The part being tested -for removing points in master script- is not well formatted (I try to give code a good format so I can return to it later and pick it up as fast as possible), but I guess you won't have major issues with that.&lt;BR /&gt;
&lt;BR /&gt;
They DON'T WORK entirely (to test them you would need to comment out some of the calculations), but might give you an idea on the approaches I took. Hell... the solution might be there and I made a mistake or just didn't see it.&lt;BR /&gt;
&lt;BR /&gt;
I'm still amazed at how you write GDL.&lt;BR /&gt;
&lt;BR /&gt;
Best regards.</description>
      <pubDate>Fri, 29 Nov 2013 20:46:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198890#M5287</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2013-11-29T20:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198891#M5288</link>
      <description>@ SinceV6: Just to inform You as You intendet:&lt;BR /&gt;
&lt;BR /&gt;
I used the Your code to create a simple numbering (Text) - Object.&lt;BR /&gt;
&lt;BR /&gt;
Its meant to number things in the plan "at the wild" - now just 2D. &lt;BR /&gt;
&lt;BR /&gt;
Till i'l have time and its finnishd - its in german but the functionality should be clear&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.youtube.com/watch?v=4TuoHhQlAFE" target="_blank"&gt;www.youtube.com/watch?v=4TuoHhQlAFE&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
until it is open on Bim:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://www.dropbox.com/s/49440b1fb19r6n2/Nummerierungen%20Poly.pln" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="https://www.dropbox.com/s/49440b1fb19r6n2/Nummerierungen%20Poly.pln" target="_blank"&gt;&lt;/A&gt;&lt;A href="https://www.dropbox.com/s/49440b1fb19r6n2/Nummerierungen%20Poly.pln" target="_blank"&gt;&lt;/A&gt;&lt;/S&gt;&lt;LINK_TEXT text="https://www.dropbox.com/s/49440b1fb19r6 ... 20Poly.pln"&gt;https://www.dropbox.com/s/49440b1fb19r6n2/Nummerierungen%20Poly.pln&lt;/LINK_TEXT&gt;&lt;E&gt;&lt;/E&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
@ Olivier Dentan:&lt;BR /&gt;
&lt;BR /&gt;
What would be a real challange: You made this very far developed object for "Garde Corps". Its full functionality applied to the new polygone-Code with Z-coords  - that would be "it"! &lt;BR /&gt;
&lt;BR /&gt;
What i tried to do so far was to calculate an offset to one side, so to make it possible to follow slabs or other contours and mount it on a Sideface - like its done here by us in Austria. But my my spirit is too weak.. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_rolleyes.gif" style="display : inline;" /&gt;</description>
      <pubDate>Sat, 21 Dec 2013 11:14:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198891#M5288</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2013-12-21T11:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198892#M5289</link>
      <description>Here my contribution.&lt;BR /&gt;
I created with my own code this editable polyline in 2d/3d with arcs.&lt;BR /&gt;
Let me know if you have questions.&lt;BR /&gt;
&lt;BR /&gt;
The use of the code is free.</description>
      <pubDate>Wed, 10 Sep 2014 09:15:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198892#M5289</guid>
      <dc:creator>Mario Sacco</dc:creator>
      <dc:date>2014-09-10T09:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Polyline base code object</title>
      <link>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198893#M5290</link>
      <description>Here a 3d view</description>
      <pubDate>Wed, 10 Sep 2014 09:17:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Dynamic-Polyline-base-code-object/m-p/198893#M5290</guid>
      <dc:creator>Mario Sacco</dc:creator>
      <dc:date>2014-09-10T09:17:45Z</dc:date>
    </item>
  </channel>
</rss>

