<?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: Alignment sheet Profile Data to excel in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808339#M68875</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&amp;nbsp; Yes that's it.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 17 Oct 2020 08:16:45 GMT</pubDate>
    <dc:creator>hak_vz</dc:creator>
    <dc:date>2020-10-17T08:16:45Z</dc:date>
    <item>
      <title>Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807815#M68860</link>
      <description>&lt;P&gt;Dear User,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I have 254 Alignment sheet file, i want to make List from Alignment sheet data&amp;nbsp;&lt;/P&gt;&lt;P&gt;as following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Chainage with Ground Level &amp;amp; Some Points Crossing or TP&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please see Attachment&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 18:54:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807815#M68860</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2020-10-16T18:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807871#M68861</link>
      <description>&lt;P&gt;Not an easy task to do.&lt;/P&gt;&lt;P&gt;For a start try to use lisp from this site&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.publicnengineers.com/2019/04/how-to-generate-cross-section.html" target="_blank" rel="noopener"&gt;https://www.publicnengineers.com/2019/04/how-to-generate-cross-section.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:29:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807871#M68861</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2020-10-16T19:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807878#M68862</link>
      <description>&lt;P&gt;Thanks For Reply....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This Link Lisp Help for making Profile (Cross Section) I have already Profile Data . I am asking help for export profile data to excel....&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:35:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807878#M68862</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2020-10-16T19:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807893#M68863</link>
      <description>&lt;P&gt;What version of C3D?&lt;/P&gt;&lt;P&gt;I believe the new Project Explorer add-on in C3D 2021 can do reporting like that.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:48:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807893#M68863</guid>
      <dc:creator>CADmgrMike</dc:creator>
      <dc:date>2020-10-16T19:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807894#M68864</link>
      <description>&lt;P&gt;Will try to create some function to extract your data to csv. Have an idea on my mind.&lt;/P&gt;&lt;P&gt;Its getting late here at my location, so expect my solution tommorow.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:49:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807894#M68864</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2020-10-16T19:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807901#M68865</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/486387"&gt;@CADmgrMike&lt;/a&gt;&amp;nbsp; Sorry I don't have C3D..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry Mistakenly Accept Solution Clicked.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:53:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807901#M68865</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2020-10-16T19:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807906#M68866</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp; Thanks For helping me. I am waiting for your solution of this topic. &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 19:57:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9807906#M68866</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2020-10-16T19:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808030#M68867</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5416515"&gt;@bit_Cad2018&lt;/a&gt;&amp;nbsp; Here is my starting code.&lt;/P&gt;&lt;P&gt;I've created basic code that I will optimize tomorrow and add some more stuff. It doesn't write in Excel but to system console.&lt;/P&gt;&lt;P&gt;It is here to show you how it will work and to point out upon some possible problems.&lt;/P&gt;&lt;P&gt;Exit row to Excel will not be complete if all texts at some station don't have equal distance i.e. text alignment x.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code asks you to select inside window all station text from section start end, it filters it according to distance from left to right, and creates data that will be later exported to Excel. Select how shown in image.&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/832512i223B9A3473996998/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&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope you know how to run lisp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun c:sef nil (sef))

(defun sef ( / data data1 data2 data3  p1 p2 ss i n ent dist cont e xcords a b c str)

(setq p1 (getpoint "\nSelect first window point (down left) &amp;gt;"))
(setq p2 (getcorner p1 "\nSelect second window point (up right) &amp;gt;"))
(setq ss (ssget "_W" p1 p2 '((0 . "TEXT"))))
(setq i -1 n (sslength ss))
(while (&amp;lt; (setq i (+ i 1)) n)
	(setq ent (entget (ssname ss i)))
	(setq dist (cadr (assoc 11 ent)))
	(setq cont (cdr (assoc 1 ent)))
	(setq data (cons (cons dist cont) data))
)
(setq i -1 )
(while (&amp;lt; (setq i (+ i 1)) n)
	(setq e (nth i data))
	(cond 
		((and (vl-string-position (ascii "+") (cdr e)) (vl-string-position (ascii ".") (cdr e))(&amp;lt; (strlen (cdr e)) 12 )) (setq data1 (cons e data1)))
		((and (not(vl-string-position (ascii "+") (cdr e)))  (&amp;lt; (strlen (cdr e)) 12 )) (setq data2 (cons e data2)))
		((&amp;gt; (strlen (cdr e)) 12 ) (setq data3 (cons e data3)))
	)
)
(setq data1 (vl-sort data1 '(lambda (a b) (&amp;lt; (car a)(car b)))))
(setq data2 (vl-sort data2 '(lambda (a b) (&amp;lt; (car a)(car b)))))
(setq data3 (vl-sort data3 '(lambda (a b) (&amp;lt; (car a)(car b)))))
(setq xcords (mapcar 'car data1))
(foreach x xcords
	(if (setq a (assoc x data1)) (setq a (cdr a)) (setq a nil))
	(if (setq b (assoc x data2)) (setq b (cdr b)) (setq b nil))
	(if (setq c (assoc x data3)) (setq c (cdr c)) (setq c nil))
	(setq str a)
	(if b (setq str (strcat a ";" b)))
	(if c (setq str (strcat a ";" b ";" c)))
	(princ (strcat "\n" str))
	
(setq str nil)

)
(princ)
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You will receive something like (errors are intentional to show upon problematics:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;192+500.00
192+540.23
192+633.63;227.110
192+702.03;230.190
192+794.65;232.900
192+848.27;232.210
192+919.94;228.530
192+994.92;229.670
193+068.40;230.770;CART TRACK  CH. 193+068.40
193+161.98;229.420
193+266.00;229.250;440V POWER LINE 5.2M HEIGHT CH. 193+225.75&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 21:56:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808030#M68867</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2020-10-16T21:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808254#M68868</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;&amp;nbsp;... it filters it according to distance from left to right,&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My approach would be pairing the Levels and Chainage based on their position on the profile&lt;/P&gt;
&lt;P&gt;Crossings based on their chainage value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="lisp"&gt;		CR3		CR5
---------------------------------------
LV1	LV2	LV3	LV4	LV5
---------------------------------------
CH1	CH2	CH3	CH4	CH5&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select the&lt;STRONG&gt; Levels&lt;/STRONG&gt; and &lt;STRONG&gt;chainage&lt;/STRONG&gt; TEXT objects&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Select&lt;STRONG&gt; Crossing &lt;/STRONG&gt;TEXT objects. [ If any ]&lt;/P&gt;
&lt;PRE&gt;("192+500.00" "222.170")
("192+540.23" "223.310")
("192+633.63" "227.110")
("192+702.03" "230.190")
("192+794.65" "232.900")
("192+848.27" "232.210")
("192+919.94" "228.530")
("192+994.92" "229.670")
("193+068.40" "230.770" "CART TRACK  CH. 193+068.40")
("193+161.98" "229.420")
(&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;"193+225.75" "229.250"&lt;/FONT&gt;&lt;/STRONG&gt; "440V POWER LINE 5.2M HEIGHT CH. 193+225.75")
&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;** Added for completeness&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="lisp"&gt;(Defun c:PSS (/ _SOrtThis chainColl levelColl ChainAndLevels comments
	       	chainColl levelColl crossing crossingString		) ;; Pair Selection and Some
;;;	 		pBe Oct. 2020			;;;
  (Defun _SOrtThis (l)
    (mapcar 'cdr
	    (vl-sort l '(lambda (a b) (&amp;lt; (car a) (car b))))
    )
  )

(princ "\nSelect LEVELS and CHAINAGE")
  (if
    (setq ChainAndLevels (ssget '((0 . "TEXT") (1 . "*#.#*"))))
     (progn
       (repeat (setq i (sslength ChainAndLevels))
	 (setq ent (entget (ssname ChainAndLevels (setq i (1- i)))))
	 (setq data (cons
		      (cadr (assoc 10 ent))
		      (cdr (assoc 1 ent))
		    )
	 )
	 (if (vl-string-position 43 (Cdr data))
	   (Setq chainColl (cons data chainColl))
	   (setq levelColl (cons data levelColl))
	 )
       )
       (setq ChainAndLevels (mapcar 'list
			      (_SOrtThis chainColl)
			      (_SOrtThis levelColl)
		      )
	     )
       (princ "\nSelect Crossings[Enter for none]")
       (if (setq crossing (ssget  '((0 . "TEXT")(1 . "*#+#*"))))
		(foreach itm (vl-remove-if 'listp
                			(mapcar 'cadr (ssnamex crossing)))
		  (setq crossingString (getpropertyvalue itm "TextString"))
		  (if (setq found (vl-some
			'(lambda (cl)
			   (if (vl-string-search (Car cl) crossingString) cl)
			   )  ChainAndLevels ))
		    (setq ChainAndLevels (subst (append found (list crossingString))
						found ChainAndLevels))
		    )
		  )
	 )
       (foreach	itm ChainAndLevels
	  (print itm)
		    )
       )
     )
  (princ)
  )&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Now I need to find a wicked lisp code that writes to existing Excel file&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 05:35:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808254#M68868</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2020-10-17T05:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808313#M68869</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&amp;nbsp;&amp;nbsp;Gave us your precious time and wholeheartedly thank you for your solution.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 07:26:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808313#M68869</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2020-10-17T07:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808315#M68870</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5416515"&gt;@bit_Cad2018&lt;/a&gt;&amp;nbsp;Throughout the day I'll finish my code. Would output to .CSV file be OK. Excel reads it without any problem.&amp;nbsp; Do you want csv output to single directory or you will select it for each sheet file separately?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 07:45:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808315#M68870</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2020-10-17T07:45:03Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808317#M68871</link>
      <description>&lt;P&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;=== FOR COMPLETENESS ===&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;What you need&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Excel application : --&amp;gt; Microsoft Office&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Giles code :------------&amp;gt;&amp;nbsp; &lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/help-with-export-list-to-excel/m-p/9350927#M396636" target="_blank" rel="noopener"&gt;Help with export list to excel&lt;/A&gt;&amp;nbsp;[ Not included as attachement, You need to do this your self]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;Excel template file:----&amp;gt;&amp;nbsp;REQUIRED LIST Template.xlsx [ refer to attached xlsx file ]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;pBe's code : -----------&amp;gt;&amp;nbsp;LevelsChainageAndCrossing.lsp [ refer to attached lsp file ]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Command: PSS&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;Select LEVELS and CHAINAGE&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;Select objects: Specify opposite corner: 22 found, 22 total&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Select objects:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;Select Crossings[Enter for none]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="3"&gt;Select objects: Specify opposite corner: 2 found&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&amp;lt; user is then prompted to save the collected values to an excel file &amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="lisp"&gt;("192+500.00" 222.17)
("192+540.23" 223.31)
("192+633.63" 227.11)
("192+702.03" 230.19)
("192+794.65" 232.9)
("192+848.27" 232.21)
("192+919.94" 228.53)
("192+994.92" 229.67)
("193+068.40" 230.77 "CART TRACK  CH. 193+068.40")
("193+161.98" 229.42)
("193+225.75" 229.25 "440V POWER LINE 5.2M HEIGHT CH. 193+225.75")&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;&lt;FONT color="#003300"&gt;&lt;FONT color="#000000"&gt;Data saved : &lt;STRONG&gt;D:\Downloads\ALG Profile Data.xlsx&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;&lt;FONT color="#003300"&gt;&lt;FONT color="#000000"&gt;---------------------------------------------------------------------------------------&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;Notes:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;Change xlsx template location according to your File and folder naming convention:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE&gt;;;;		Excel file Template location		;;;
  (setq XcelTemplate "&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;D:\\Downloads&lt;/STRONG&gt;&lt;/FONT&gt;\\&lt;FONT color="#000080"&gt;&lt;STRONG&gt;REQUIRED LIST Template.xlsx&lt;/STRONG&gt;&lt;/FONT&gt;")
&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Comments: [ Layer filter can be added on the code by user ]&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#003300"&gt;&lt;STRONG&gt;LAYERS : &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;I cannot&amp;nbsp;reitereate this enough.&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#003300"&gt;&lt;FONT color="#000000"&gt;To identify which is what on a drawin, assign the proper layer.&amp;nbsp;Autocad layers are there for a reason. Create a separate layer names for Chainage, Levels and Crossing TEXT objects.&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Kudos to&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424" target="_blank" rel="noopener"&gt;@_gile&lt;/A&gt;&amp;nbsp;for the wicked gc:WriteExcel function&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 07:45:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808317#M68871</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2020-10-17T07:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808324#M68872</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5416515"&gt;@bit_Cad2018&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Gave us your precious time and wholeheartedly thank you for your solution.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT size="3"&gt;You are welcome &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5416515"&gt;@bit_Cad2018&lt;/a&gt;&amp;nbsp;, Glad I could help&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;The code wiill save the data in Excel format:&lt;/FONT&gt;&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="PPS.PNG" style="width: 652px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/832583i61757AAF0A4C5CE1/image-dimensions/652x317?v=v2" width="652" height="317" role="button" title="PPS.PNG" alt="PPS.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Cheers&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 07:53:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808324#M68872</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2020-10-17T07:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808325#M68873</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;You have done good work. I would just add option to select exit file through dialog.&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5416515"&gt;@bit_Cad2018&lt;/a&gt;&amp;nbsp; Here you have almost complete code, I'll update mine later.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 07:54:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808325#M68873</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2020-10-17T07:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808331#M68874</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;You have done good work. I would just add option to select &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;exit&lt;/STRONG&gt;&lt;/FONT&gt; file through dialog.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;What do you mean by exit file?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Are you referring to excel template file? If you are,its a good idea then&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5416515"&gt;@bit_Cad2018&lt;/a&gt;&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size="3"&gt;Change&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;	  (findfile XcelTemplate)&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT size="3"&gt;To&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;(or
	  (findfile XcelTemplate)
	  (setq	XcelTemplate
		 (getfiled
		   "Select Template file"
		   (getvar 'dwgprefix)
		   "xlsx;xls"
		   16
		 )
	  )
	  )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;FONT size="3"&gt;HTH&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 08:11:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808331#M68874</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2020-10-17T08:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808339#M68875</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&amp;nbsp; Yes that's it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 08:16:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808339#M68875</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2020-10-17T08:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808350#M68876</link>
      <description>&lt;P&gt;I Applied all step but after command active not select (Level and Chainage)&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="bittuds1996_2-1602922772402.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/832594i0B2637943AC4C09A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="bittuds1996_2-1602922772402.png" alt="bittuds1996_2-1602922772402.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 08:20:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808350#M68876</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2020-10-17T08:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808357#M68877</link>
      <description>&lt;P&gt;May be i ll downloaded wrong file. or i applied wrong steps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5530556"&gt;@hak_vz&lt;/a&gt;&amp;nbsp; Please attach all required file&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 08:31:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808357#M68877</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2020-10-17T08:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808385#M68878</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5416515"&gt;@bit_Cad2018&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I Applied all step but after command active not select (Level and Chainage)&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;This from post # 12&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;What you need
Excel application : ----&amp;gt; Microsoft Office
Giles code :------------&amp;gt;[ Not included as attachement, You need to do this your self]
Excel template file:----&amp;gt;[ refer to attached xlsx file ]
pBe's code : -----------&amp;gt;[ refer to attached lsp file ]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyways&lt;/P&gt;
&lt;P&gt;Refer to attached lisp files&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;WriteExcel_Gile.LSP&lt;/LI&gt;
&lt;LI&gt;LevelsChainageAndCrossing.lsp&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Appload both files&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;pBe&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 09:15:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808385#M68878</guid>
      <dc:creator>pbejse</dc:creator>
      <dc:date>2020-10-17T09:15:48Z</dc:date>
    </item>
    <item>
      <title>Re: Alignment sheet Profile Data to excel</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808394#M68879</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/564264"&gt;@pbejse&lt;/a&gt;&amp;nbsp; Thanks you for Help,&amp;nbsp;This Program Extremely Good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp; Downloaded Wrong WriteCSV.lsp File&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 09:31:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/alignment-sheet-profile-data-to-excel/m-p/9808394#M68879</guid>
      <dc:creator>bit_Cad2018</dc:creator>
      <dc:date>2020-10-17T09:31:13Z</dc:date>
    </item>
  </channel>
</rss>

