<?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: I Have Chainage in Excel file How to mark on polyline and export to coordina in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/11130945#M81572</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6363072"&gt;@nilesh.bhosale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your xls data have&amp;nbsp; 3 repited distances for each one&amp;nbsp; , how do you want to do ?&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;12548&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12548&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12548&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15400&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;15400&lt;/TD&gt;&lt;/TR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36236&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;36236&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;36236&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;45112&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;45112&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;45112&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;51425&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;51425&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;51425&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;52152&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;52152&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;52152&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;68000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;68000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;68000&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Apr 2022 00:12:58 GMT</pubDate>
    <dc:creator>devitg</dc:creator>
    <dc:date>2022-04-27T00:12:58Z</dc:date>
    <item>
      <title>I Have Chainage in Excel file How to mark on polyline and export to coordinate t</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9159099#M81554</link>
      <description>&lt;P&gt;Dear Friends,&lt;BR /&gt;I Have Chainage in Excel file How to mark on polyline and export to coordinate to chainage&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 08:59:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9159099#M81554</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2019-11-21T08:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9159710#M81555</link>
      <description>&lt;P&gt;&lt;U&gt;Please Upload , both XLS and DWG where to apply , and how do you mean to do it.&amp;nbsp;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2019 14:13:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9159710#M81555</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2019-11-21T14:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9162094#M81556</link>
      <description>&lt;P&gt;On this polyline i require the chainage provided in excel in text format with any attribute block&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 14:48:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9162094#M81556</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2019-11-22T14:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9162166#M81557</link>
      <description>&lt;P&gt;please supply such block with attributes&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 15:24:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9162166#M81557</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2019-11-22T15:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9162197#M81558</link>
      <description>&lt;P&gt;If you convert in CSV file with this form: not tile, with decimal point and not comma&lt;/P&gt;&lt;P&gt;exemple:&lt;/P&gt;&lt;PRE&gt;22404.9;
22470.72;
23397.853;
23476.193;
28595.116;
28655.904;
31532.042;
31578.282;
31684.821;
32656.607;
32685.727;
32920.045;
33539.855;
34814.419;
36463.313;
39310.654;
43065.435;
45110.463;
46023.238;
47548.831;
47611.981;
49064.194;
50295.883;
50418.112;
50683.444;&lt;/PRE&gt;&lt;P&gt;Then you can use this:&lt;/P&gt;&lt;PRE&gt;(defun draw_pt (pt col / rap)
  (setq rap (/ (getvar "viewsize") 50))
  (foreach n
    (mapcar
      '(lambda (x)
        (list
          ((eval (car x)) (car pt) rap)
          ((eval (cadr x)) (cadr pt) rap)
          (caddr pt)
        )
      )
      '((+ +) (+ -) (- +) (- -))
    )
    (grdraw pt n col)
  )
)
(defun c:measure_on_curve_whith_CSV ( / js ent dxf_ent vla_obj param_end perim_obj pt_ref dist_ref op input f_open l_read len_vtx new_pt)
  (vl-load-com)
  (princ "\nSelect a curvilinear object on which you want to measure.")
  (while
    (not
      (setq js
        (ssget "_+.:E:S"
          (list
            (cons -4 "&amp;lt;OR")
              (cons -4 "&amp;lt;AND")
                (cons 0 "*POLYLINE,LINE,ARC,CIRCLE,ELLIPSE")
                (cons -4 "&amp;lt;NOT")
                  (cons -4 "&amp;amp;") (cons 70 112)
                (cons -4 "NOT&amp;gt;")
              (cons -4 "AND&amp;gt;")
              (cons 0 "SPLINE")
            (cons -4 "OR&amp;gt;")
          )
        )
      )
    )
  )
  (setq
    ent (ssname js 0)
    dxf_ent (entget ent)
    vla_obj (vlax-ename-&amp;gt;vla-object ent)
    param_end (vlax-curve-getEndParam vla_obj)
    perim_obj (vlax-curve-getDistAtParam vla_obj param_end)
  )
  (redraw ent 3)
  (initget 1)
  (setq
    pt_ref (getpoint "\nReference point of the measure: ")
    pt_ref (vlax-curve-getClosestPointTo vla_obj (trans pt_ref 1 0))
  )
  (draw_pt (trans pt_ref 0 1) 1)
  (setq dist_ref (vlax-curve-getDistAtPoint vla_obj pt_ref))
  (initget "+ -")
  (setq op (getkword "\nAdd-Subtract [+/-]? &amp;lt;+&amp;gt;: "))
  (if (or (eq op "+") (not op)) (setq op '+) (setq op '-))
  (setq
    input (getfiled "Select a CSV file" "" "csv" 2)
    f_open (open input "r")
  )
  (while (setq l_read (read-line f_open))
    (setq len_vtx (atof (substr l_read 1 (vl-string-position 59 l_read))))
    (cond
      ((&amp;lt;= len_vtx perim_obj)
        (if (or (null (setq new_pt (vlax-curve-getPointAtDist vla_obj (+ dist_ref len_vtx)))) (&amp;gt; ((eval op) dist_ref len_vtx) perim_obj))
          (setq new_pt (vlax-curve-getPointAtDist vla_obj (- dist_ref len_vtx)))
        )
        (draw_pt (trans new_pt 0 1) 3)
        (if (and (&amp;lt;= ((eval op) dist_ref len_vtx) perim_obj) (&amp;gt;= ((eval op) dist_ref len_vtx) 0.0))
          (setq new_pt (vlax-curve-getPointAtDist vla_obj ((eval op) dist_ref len_vtx)))
          (setq new_pt nil)
        )
        (if new_pt
          (progn (redraw) (draw_pt (trans pt_ref 0 1) 1) (draw_pt (trans new_pt 0 1) 3))
          (progn (redraw) (draw_pt (trans pt_ref 0 1) 1))
        )
        (redraw)
        (if new_pt
          (entmake
            (list
              '(0 . "POINT")
              '(100 . "AcDbEntity")
              (assoc 67 dxf_ent)
              (assoc 410 dxf_ent)
              (cons 8 (getvar "CLAYER"))
              (cons 10 new_pt)
              '(210 0.0 0.0 1.0)
              '(50 . 0.0)
            )
          )
        )
      )
      (T
        (princ "\nThe introduced length is larger than the object.")
      )
    )
  )
  (close f_open)
  (redraw ent 4)
  (prin1)
)&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Nov 2019 15:40:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9162197#M81558</guid>
      <dc:creator>CADaSchtroumpf</dc:creator>
      <dc:date>2019-11-22T15:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9162222#M81559</link>
      <description>&lt;P&gt;You may use &lt;A href="https://www.cadstudio.cz/en/download.asp?file=TraceCurve" target="_blank" rel="noopener"&gt;https://www.cadstudio.cz/en/download.asp?file=TraceCurve&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may use block or point. In each iteration you enter distance to next chainage point.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 15:48:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9162222#M81559</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-11-22T15:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9163041#M81560</link>
      <description>&lt;P&gt;&lt;STRONG&gt;This lisp only plot points Please help me for plot any chainage attribute block&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp; CADaStroumph&amp;nbsp; for the help&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 06:02:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9163041#M81560</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2019-11-23T06:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9164548#M81561</link>
      <description>&lt;P&gt;This?&lt;/P&gt;&lt;P&gt;With your block present in your drawing.&lt;/P&gt;&lt;PRE&gt;(defun draw_pt (pt col / rap)
  (setq rap (/ (getvar "viewsize") 50))
  (foreach n
    (mapcar
      '(lambda (x)
        (list
          ((eval (car x)) (car pt) rap)
          ((eval (cadr x)) (cadr pt) rap)
          (caddr pt)
        )
      )
      '((+ +) (+ -) (- +) (- -))
    )
    (grdraw pt n col)
  )
)
(defun c:measure_on_curve_whith_CSV ( / js ent dxf_ent vla_obj param_end perim_obj pt_ref dist_ref op input f_open l_read len_vtx ang new_pt)
  (vl-load-com)
  (princ "\nSelect a curvilinear object on which you want to measure.")
  (while
    (not
      (setq js
        (ssget "_+.:E:S"
          (list
            (cons -4 "&amp;lt;OR")
              (cons -4 "&amp;lt;AND")
                (cons 0 "*POLYLINE,LINE,ARC,CIRCLE,ELLIPSE")
                (cons -4 "&amp;lt;NOT")
                  (cons -4 "&amp;amp;") (cons 70 112)
                (cons -4 "NOT&amp;gt;")
              (cons -4 "AND&amp;gt;")
              (cons 0 "SPLINE")
            (cons -4 "OR&amp;gt;")
          )
        )
      )
    )
  )
  (setq
    ent (ssname js 0)
    dxf_ent (entget ent)
    vla_obj (vlax-ename-&amp;gt;vla-object ent)
    param_end (vlax-curve-getEndParam vla_obj)
    perim_obj (vlax-curve-getDistAtParam vla_obj param_end)
  )
  (redraw ent 3)
  (initget 1)
  (setq
    pt_ref (getpoint "\nReference point of the measure: ")
    pt_ref (vlax-curve-getClosestPointTo vla_obj (trans pt_ref 1 0))
  )
  (draw_pt (trans pt_ref 0 1) 1)
  (setq dist_ref (vlax-curve-getDistAtPoint vla_obj pt_ref))
  (initget "+ -")
  (setq op (getkword "\nAdd-Subtract [+/-]? &amp;lt;+&amp;gt;: "))
  (if (or (eq op "+") (not op)) (setq op '+) (setq op '-))
  (setq
    input (getfiled "Select a CSV file" "" "csv" 2)
    f_open (open input "r")
  )
  (while (setq l_read (read-line f_open))
    (setq len_vtx (atof (substr l_read 1 (vl-string-position 59 l_read))))
    (cond
      ((&amp;lt;= len_vtx perim_obj)
        (if (or (null (setq new_pt (vlax-curve-getPointAtDist vla_obj (+ dist_ref len_vtx)))) (&amp;gt; ((eval op) dist_ref len_vtx) perim_obj))
          (setq new_pt (vlax-curve-getPointAtDist vla_obj (- dist_ref len_vtx)))
        )
        (draw_pt (trans new_pt 0 1) 3)
        (if (and (&amp;lt;= ((eval op) dist_ref len_vtx) perim_obj) (&amp;gt;= ((eval op) dist_ref len_vtx) 0.0))
          (setq new_pt (vlax-curve-getPointAtDist vla_obj ((eval op) dist_ref len_vtx)))
          (setq new_pt nil)
        )
        (if new_pt
          (progn (redraw) (draw_pt (trans pt_ref 0 1) 1) (draw_pt (trans new_pt 0 1) 3))
          (progn (redraw) (draw_pt (trans pt_ref 0 1) 1))
        )
        (redraw)
        (if new_pt
          (progn
            (setq ang (angle '(0.0 0.0 0.0) (vlax-curve-getFirstDeriv vla_obj (vlax-curve-getParamAtPoint vla_obj new_pt))))
            (entmake
              (list
                (cons 0 "INSERT")
                (cons 100 "AcDbEntity")
                (assoc 67 dxf_ent)
                (assoc 410 dxf_ent)
                (cons 8 (getvar "CLAYER"))
                (cons 100 "AcDbBlockReference")
                (cons 66 1)
                (cons 2 "BLK_MEASURE_CURVE")
                (cons 10 new_pt)
                (cons 41 1.0)
                (cons 42 1.0)
                (cons 43 1.0)
                (cons 50 ang)
              )
            )
            (entmake
              (list
                (cons 0 "ATTRIB")
                (cons 100 "AcDbEntity")
                (assoc 67 dxf_ent)
                (assoc 410 dxf_ent)
                (cons 8 (getvar "CLAYER"))
                (cons 62 1)
                (cons 100 "AcDbText")
                (cons 10
                  (polar
                    (polar new_pt (- ang (* 0.5 pi)) 15.9313)
                    (- ang)
                    3.3679
                  )
                )
                (cons 40 3.175)
                (cons 1 (rtos (/ len_vtx 1000.0) 2 3))
                (cons 50 ang)
                (cons 41 1.0)
                (cons 51 0.0)
                (cons 7 "$BLK_MEAS")
                (cons 71 0)
                (cons 72 1)
                (cons 11 (polar new_pt (- ang (* 0.5 pi)) 16.9213))
                (cons 100 "AcDbAttribute")
                (cons 2 "KM")
                (cons 70 0)
                (cons 73 0)
                (cons 74 1)
              )
            )
            (entmake (list (cons 0 "SEQEND") (cons 8 (getvar "CLAYER")) (cons 62 0) (cons 6 "ByLayer") (cons 370 -2)))
          )
        )
      )
      (T
        (princ "\nThe introduced length is larger than the object.")
      )
    )
  )
  (close f_open)
  (redraw ent 4)
  (prin1)
)&lt;/PRE&gt;</description>
      <pubDate>Mon, 25 Nov 2019 00:41:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9164548#M81561</guid>
      <dc:creator>CADaSchtroumpf</dc:creator>
      <dc:date>2019-11-25T00:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9164758#M81562</link>
      <description>&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;Thanks&amp;nbsp;CADaStroumph Sir &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 05:05:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/9164758#M81562</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2019-11-25T05:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805392#M81563</link>
      <description>&lt;P&gt;what is the name of this lisp file how to run it????&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 05:56:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805392#M81563</guid>
      <dc:creator>nilesh.bhosale</dc:creator>
      <dc:date>2021-12-07T05:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805562#M81564</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6363072"&gt;@nilesh.bhosale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Save code into somefile.lisp.&amp;nbsp; Load it to autocad - tools -&amp;gt; load application-.....&amp;nbsp; When loaded type&amp;nbsp;measure_on_curve_whith_CSV to console.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 08:10:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805562#M81564</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-12-07T08:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805570#M81565</link>
      <description>&lt;P&gt;i need to insert one block in aligned position on a polyline at the distances mentioned in .csv file&lt;/P&gt;&lt;P&gt;can you help me with this ??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 08:16:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805570#M81565</guid>
      <dc:creator>nilesh.bhosale</dc:creator>
      <dc:date>2021-12-07T08:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805585#M81566</link>
      <description>&lt;P&gt;Start new post with full details of your request. Attach sample file with sample block you use. I will work on it later today (currently at work).&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 08:22:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805585#M81566</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-12-07T08:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805611#M81567</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556" target="_self"&gt;&lt;SPAN class=""&gt;hak vz&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;please see attached cad file for polyline and block to be inserted on polyline aligned and also the csv file attached in which distance marked&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 08:39:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805611#M81567</guid>
      <dc:creator>nilesh.bhosale</dc:creator>
      <dc:date>2021-12-07T08:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordinate t</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805614#M81568</link>
      <description>&lt;P&gt;i have to insert 1000 of blocks in similar way so need your help to develop lisp for the same&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 08:41:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805614#M81568</guid>
      <dc:creator>nilesh.bhosale</dc:creator>
      <dc:date>2021-12-07T08:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805795#M81569</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6363072"&gt;@nilesh.bhosale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I asked you to start new post I wanted you to start new post to this forum and not just reply to this topic with your request. That way each OP request is solved separately, you have an option to select one or more solutions to your particular problem, and its much easier to other readers to follow requests.&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-center" image-alt="Untitled.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/998148iDD5F34BB2F8BDA17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Untitled.png" alt="Untitled.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-center"&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/bd-p/130" target="_blank" rel="noopener"&gt;Visual lisp forum&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 10:12:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805795#M81569</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2021-12-07T10:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805797#M81570</link>
      <description>&lt;P&gt;if you check i have already posted this request sever time but no one responded ..and here similar type of lisp this guy has prepared thats why i have posted here&lt;/P&gt;&lt;P&gt;you can check my new request where no one posted solution neither any response&lt;/P&gt;</description>
      <pubDate>Tue, 07 Dec 2021 10:15:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/10805797#M81570</guid>
      <dc:creator>nilesh.bhosale</dc:creator>
      <dc:date>2021-12-07T10:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/11115920#M81571</link>
      <description>&lt;P&gt;Sir,&lt;/P&gt;&lt;P&gt;I have attached the original excel file and Autocad version for your reference.&amp;nbsp; actually, I need to export (Label) all chainages which are in the excel file, to the alignment in the attached Autocad drawing.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 06:31:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/11115920#M81571</guid>
      <dc:creator>bilu09</dc:creator>
      <dc:date>2022-04-20T06:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/11130945#M81572</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6363072"&gt;@nilesh.bhosale&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your xls data have&amp;nbsp; 3 repited distances for each one&amp;nbsp; , how do you want to do ?&amp;nbsp;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;12548&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;12548&lt;/TD&gt;&lt;/TR&gt;&lt;TR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t;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 00:12:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/11130945#M81572</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2022-04-27T00:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: I Have Chainage in Excel file How to mark on polyline and export to coordina</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/11131165#M81573</link>
      <description>&lt;P&gt;Sir,&lt;/P&gt;&lt;P&gt;Thank you for your query ....the distances are random and not repeated its just a sample excel data&amp;nbsp;&lt;/P&gt;&lt;P&gt;so the input distance can be random distances.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nilesh&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 03:23:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/i-have-chainage-in-excel-file-how-to-mark-on-polyline-and-export/m-p/11131165#M81573</guid>
      <dc:creator>nilesh.bhosale</dc:creator>
      <dc:date>2022-04-27T03:23:18Z</dc:date>
    </item>
  </channel>
</rss>

