<?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 Lisp for chainage / stations along a polyline in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-for-chainage-stations-along-a-polyline/m-p/10750852#M52606</link>
    <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I found a lisp for inserting chainages/stations along a polyline, that I would like get improved. The lisp can be found here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-changing-to-station-from-chainage/td-p/7914389" target="_blank"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-changing-to-station-from-chainage/td-p/7914389&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone knows how to edit the code to incorporate any/all of the following prompts when executing the lisp, that would be super helpful! Ideally it should run not only on Polylines but also on &lt;STRONG&gt;2D&lt;/STRONG&gt; and &lt;STRONG&gt;3D Polylines.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So after installing the lisp and typing in „&lt;U&gt;CHAINAGE&lt;/U&gt;“ or whatever the lisp is to be called, the following prompts would be ideal:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Select Polyline, near start-chainage point&lt;/STRONG&gt; (this ability would negate the need to check which direction the polyline runs in, to avoid having your Start-chainage at the wrong end of the polyline&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Enter start chainage [0+000] &lt;/STRONG&gt;(in case for whatever reason the user can choose to start the chainage text at any desired number at the start of the polyline. If the user needs the start of the polyline to begin at chainage 45,123.150 (to be shown on the page then as 45+123.150) then he should just need to type in here 45123.15. So the 2nd marker would be at the round 45+130&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Interval [10.0 &lt;/STRONG&gt;Standard&lt;STRONG&gt;] &lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Number of decimals [&lt;U&gt;0&lt;/U&gt;/1/2/3]&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Position &lt;U&gt;L&lt;/U&gt;eft or &lt;U&gt;R&lt;/U&gt;ight of polyline? [L/R] &lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Text offset from Polyline [5.0] &lt;/STRONG&gt;(Text/Chainage should be positioned standard 5 units left/right of the line, can be increased/decreased here as desired)&lt;STRONG&gt; &amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Text size [1.0] &lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Text perpendicular to polyline? [Y/N] &lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Insert Marker as &lt;U&gt;T&lt;/U&gt;ickline or &lt;U&gt;C&lt;/U&gt;ircle or &lt;U&gt;N&lt;/U&gt;o marker? [Tick]&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;(if T/C is selected…)&amp;nbsp; → &lt;STRONG&gt;Size of Marker [1.0] &lt;/STRONG&gt;(only gets asked if T or C is selected in the previous prompt)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; → &lt;STRONG&gt;Scale of Marker [1.0] &lt;/STRONG&gt;(in this case, the standard 1.0 = radius of circle / length of tick-marker)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Insert extra chainages at all nodes? [No]&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (if Yes selected…) &amp;nbsp; → Number of decimals for node-chainages [0/1/2/3]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; → Separator [. or ,] (in some European countries, the decimal separator is a comma, so this option would be great! Otherwise standard with comma would be preferred)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's an example of the textual outputs I would expect to see running such a lisp:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;0+000 (Start point standard 0+000)&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;0+010&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;0+017,123 (first node)&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;0+020&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;…&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;0+990&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;1+000&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;1+010&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have looked at the options provided here: &lt;A href="http://www.gilesdarling.me.uk/lisproutines.shtml#chmark" target="_blank"&gt;http://www.gilesdarling.me.uk/lisproutines.shtml#chmark&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But although impressive, is not quite what i need, and I'm not at all experienced enough at lisp code to amend an existing lisp to suit my above desires.&lt;/P&gt;&lt;P&gt;Any help muchly appreciated!&lt;/P&gt;</description>
    <pubDate>Thu, 11 Nov 2021 14:46:58 GMT</pubDate>
    <dc:creator>barry2104</dc:creator>
    <dc:date>2021-11-11T14:46:58Z</dc:date>
    <item>
      <title>Lisp for chainage / stations along a polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-for-chainage-stations-along-a-polyline/m-p/10750852#M52606</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;I found a lisp for inserting chainages/stations along a polyline, that I would like get improved. The lisp can be found here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-changing-to-station-from-chainage/td-p/7914389" target="_blank"&gt;https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-changing-to-station-from-chainage/td-p/7914389&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If anyone knows how to edit the code to incorporate any/all of the following prompts when executing the lisp, that would be super helpful! Ideally it should run not only on Polylines but also on &lt;STRONG&gt;2D&lt;/STRONG&gt; and &lt;STRONG&gt;3D Polylines.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So after installing the lisp and typing in „&lt;U&gt;CHAINAGE&lt;/U&gt;“ or whatever the lisp is to be called, the following prompts would be ideal:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Select Polyline, near start-chainage point&lt;/STRONG&gt; (this ability would negate the need to check which direction the polyline runs in, to avoid having your Start-chainage at the wrong end of the polyline&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Enter start chainage [0+000] &lt;/STRONG&gt;(in case for whatever reason the user can choose to start the chainage text at any desired number at the start of the polyline. If the user needs the start of the polyline to begin at chainage 45,123.150 (to be shown on the page then as 45+123.150) then he should just need to type in here 45123.15. So the 2nd marker would be at the round 45+130&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Interval [10.0 &lt;/STRONG&gt;Standard&lt;STRONG&gt;] &lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Number of decimals [&lt;U&gt;0&lt;/U&gt;/1/2/3]&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Position &lt;U&gt;L&lt;/U&gt;eft or &lt;U&gt;R&lt;/U&gt;ight of polyline? [L/R] &lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Text offset from Polyline [5.0] &lt;/STRONG&gt;(Text/Chainage should be positioned standard 5 units left/right of the line, can be increased/decreased here as desired)&lt;STRONG&gt; &amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Text size [1.0] &lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Text perpendicular to polyline? [Y/N] &lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Insert Marker as &lt;U&gt;T&lt;/U&gt;ickline or &lt;U&gt;C&lt;/U&gt;ircle or &lt;U&gt;N&lt;/U&gt;o marker? [Tick]&lt;BR /&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;(if T/C is selected…)&amp;nbsp; → &lt;STRONG&gt;Size of Marker [1.0] &lt;/STRONG&gt;(only gets asked if T or C is selected in the previous prompt)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; → &lt;STRONG&gt;Scale of Marker [1.0] &lt;/STRONG&gt;(in this case, the standard 1.0 = radius of circle / length of tick-marker)&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Insert extra chainages at all nodes? [No]&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (if Yes selected…) &amp;nbsp; → Number of decimals for node-chainages [0/1/2/3]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; → Separator [. or ,] (in some European countries, the decimal separator is a comma, so this option would be great! Otherwise standard with comma would be preferred)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's an example of the textual outputs I would expect to see running such a lisp:&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;0+000 (Start point standard 0+000)&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;0+010&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;0+017,123 (first node)&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;0+020&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;…&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;0+990&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;1+000&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;1+010&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have looked at the options provided here: &lt;A href="http://www.gilesdarling.me.uk/lisproutines.shtml#chmark" target="_blank"&gt;http://www.gilesdarling.me.uk/lisproutines.shtml#chmark&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But although impressive, is not quite what i need, and I'm not at all experienced enough at lisp code to amend an existing lisp to suit my above desires.&lt;/P&gt;&lt;P&gt;Any help muchly appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 14:46:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-for-chainage-stations-along-a-polyline/m-p/10750852#M52606</guid>
      <dc:creator>barry2104</dc:creator>
      <dc:date>2021-11-11T14:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp for chainage / stations along a polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-for-chainage-stations-along-a-polyline/m-p/10750884#M52607</link>
      <description>&lt;P&gt;Seems to me like a great target for your motivation to learn LSP.&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 14:55:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-for-chainage-stations-along-a-polyline/m-p/10750884#M52607</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2021-11-11T14:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp for chainage / stations along a polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-for-chainage-stations-along-a-polyline/m-p/10751522#M52608</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/787972"&gt;@barry2104&lt;/a&gt;&amp;nbsp;furthermore than&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;quote, a sample.dwg with the before and after . would help to get some HELP.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Nov 2021 17:30:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-for-chainage-stations-along-a-polyline/m-p/10751522#M52608</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2021-11-11T17:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Lisp for chainage / stations along a polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-for-chainage-stations-along-a-polyline/m-p/10752643#M52609</link>
      <description>&lt;P&gt;The way to go is to do a DCL that asks the questions, a quick look at ask,&amp;nbsp; left side is values right side is radio buttons or toggles. See image example yes is a custom dcl. It has all 3 options get&amp;nbsp; values, toggles and a yes no radio button choice. Its not as hard as it looks. A donation goes a long way to get what you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Re Q1 yes a very simple check is when you do entsel and pick a pline you get a point and entity name, So you compare start and end point distance of the pline to pick point, and reverse the pline if required before doing chainages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SeaHaven_0-1636692858016.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/988821i75A5B4D8679B5EFA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SeaHaven_0-1636692858016.png" alt="SeaHaven_0-1636692858016.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Also this lisp, the 45+123.456 has been discussed many times. Where I am we don't use it.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Nov 2021 05:05:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/lisp-for-chainage-stations-along-a-polyline/m-p/10752643#M52609</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2021-11-12T05:05:17Z</dc:date>
    </item>
  </channel>
</rss>

