<?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: Exporting multiple polylines coordinates, with an ID for the exported polylines in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10011048#M110711</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I don't see what your geturl function is/does....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's not their [that is, not &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3045705"&gt;@mihai_bantas&lt;/a&gt;&amp;nbsp;'s] function, but as far as I can tell first appears in&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;'s message 3, and that's marked as a Solution, so I hope they can show us a definition, or possibly the OP &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3048599"&gt;@djurk_haas&lt;/a&gt;&amp;nbsp;who accepted that as a Solution.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jan 2021 22:05:07 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2021-01-18T22:05:07Z</dc:date>
    <item>
      <title>Exporting multiple polylines coordinates, with an ID for the exported polylines</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7642135#M110694</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;I wonder if it's possible&amp;nbsp;to modify the&amp;nbsp;lisp routine which is from this forum: "Exporting multiple polylines coordinates, with text break".&lt;/P&gt;&lt;P&gt;&amp;nbsp;This&amp;nbsp;lisp with the solution with the text break is almost perfect for me but I am wondering &amp;nbsp;if it's possible to&amp;nbsp;get in the output the "ID" of the polylines?&lt;/P&gt;&lt;P&gt;I have given the polylines an "ID" by filling in the hyperlink field at the properties. Is it possible to adjust this lisp or the one that's below*&amp;nbsp;so that you can see which coordinates belong to which polyline?&lt;/P&gt;&lt;P&gt;&amp;nbsp;*I have found another&amp;nbsp;lisp routine (see below) which exports coordinates of polylines to a csv file (works great) but it also&amp;nbsp;exports one long list of coordinates when you select more than one polyline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example&amp;nbsp;this&amp;nbsp;is&amp;nbsp;the current output in the csv:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;85790.80773261,-617.56967007,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;7907.16139717,-1476.60439300,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;86419.30065153,-823.03783397,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;87612.15468495,-027.65058909,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;89728.50834951,-886.68531202,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;88240.64760388,-233.11875299,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And this is the wanted output in the csv:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;HL-01&lt;/P&gt;&lt;P&gt;85790.80773261,-617.56967007,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;7907.16139717,-1476.60439300,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;86419.30065153,-823.03783397,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;HL-02&lt;/P&gt;&lt;P&gt;87612.15468495,-027.65058909,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;89728.50834951,-886.68531202,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;88240.64760388,-233.11875299,0.00000000&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lisp routine from dotsoft:&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------&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; (Export LWPOLYLINE Vertices &amp;amp; Points to File)&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; Copyright (C) 2000 DotSoft, All Rights Reserved&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; Website: &lt;A href="http://www.dotsoft.com/" target="_blank"&gt;http://www.dotsoft.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;; ----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;; DISCLAIMER: DotSoft Disclaims any and all liability for any damages&lt;/P&gt;&lt;P&gt;; arising out of the use or operation, or inability to use the software.&lt;/P&gt;&lt;P&gt;; FURTHERMORE, User agrees to hold DotSoft harmless from such claims.&lt;/P&gt;&lt;P&gt;; DotSoft makes no warranty, either expressed or implied, as to the&lt;/P&gt;&lt;P&gt;; fitness of this product for a particular purpose. All materials are&lt;/P&gt;&lt;P&gt;; to be considered ‘as-is’, and use of this software should be&lt;/P&gt;&lt;P&gt;; considered as AT YOUR OWN RISK.&lt;/P&gt;&lt;P&gt;; ----------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;;;Revised 8/23/07 CAB to report coordinates in current UCS&lt;/P&gt;&lt;P&gt;(defun c:ptexport ()&lt;/P&gt;&lt;P&gt;(setq sset (ssget '((-4 . "&amp;lt;OR")(0 . "POINT")&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; (0 . "LWPOLYLINE")(-4 . "OR&amp;gt;"))))&lt;/P&gt;&lt;P&gt;(if sset&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; (progn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq itm 0 num (sslength sset))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq fn (getfiled "Point Export File" "" "csv" 1))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (if (/= fn nil)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (progn&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (setq fh (open fn "w"))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (while (&amp;lt; itm num)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(setq hnd (ssname sset itm))&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; (setq ent (entget hnd))&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; (setq obj (cdr (assoc 0 ent)))&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; (cond&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; ((= obj "POINT")&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; (setq pnt (cdr (assoc 10 ent)))&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; (setq pnt (trans pnt 0 1));;**CAB&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; (princ (strcat (rtos (car pnt) 2 8) ","&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; (rtos (cadr pnt) 2 8) ","&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; (rtos (caddr pnt) 2 8)) fh)&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; (princ "\n" fh)&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; )&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; ((= obj "LWPOLYLINE")&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; (if (= (cdr (assoc 38 ent)) nil)&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; (setq elv 0.0)&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; (setq elv (cdr (assoc 38 ent)))&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; )&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; (foreach rec ent&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; (if (= (car rec) 10)&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; (progn&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; (setq pnt (cdr rec))&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; (setq pnt (trans pnt 0 1));;**CAB&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; (princ (strcat (rtos (car pnt) 2 8) ","&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; (rtos (cadr pnt) 2 8) ","&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;(rtos elv 2 8)) fh)&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; (princ "\n" fh)&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; )&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; )&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; )&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; )&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; (t nil)&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; )&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; (setq itm (1+ itm))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;(close fh)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;(princ)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(princ "\nPoint Export loaded, type PTEXPORT to run.")&lt;/P&gt;&lt;P&gt;(princ)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS A LOT FOR YOUR HELP&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 15:20:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7642135#M110694</guid>
      <dc:creator>djurk_haas</dc:creator>
      <dc:date>2017-12-21T15:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polyli</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7642210#M110695</link>
      <description>&lt;P&gt;Just add the line in red:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;FONT color="#FF0000"&gt; (write-line ID fh)&lt;/FONT&gt;&lt;BR /&gt; (foreach rec ent
                 (if (= (car rec) 10)
                   (progn
                     (setq pnt (cdr rec))
                     (setq pnt (trans pnt 0 1));;**CAB
                     (princ (strcat (rtos (car pnt) 2 8) ","
                                     (rtos (cadr pnt) 2 8) ","
                                    (rtos elv 2 8)) fh)
                     (princ "\n" fh)
                   )
                 )
               )&lt;/PRE&gt;
&lt;P&gt;Of course you have to supply the value of ID for each polyline, which could be the value of its hyperlink property or even just its handle, of which the latter is easier to obtain and enables you to avoid having to add the hyperlink in the first place.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 15:40:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7642210#M110695</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2017-12-21T15:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polyli</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7642232#M110696</link>
      <description>&lt;P&gt;Hi, glad you made it. Add after this line:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#999999"&gt; ((= obj "LWPOLYLINE")&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These new:&lt;/P&gt;
&lt;P&gt;(princ (geturl hnd) fh)&lt;BR /&gt; (princ "\n" fh)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In one case you have file name with a relative path... not sure whether you want to keep it or not. Use this if later.&lt;/P&gt;
&lt;P&gt;(princ (vl-string-subst "" ".csv" (vl-string-trim ".\\" (geturl hnd))) fh)&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(princ "\n" fh)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Dec 2017 15:46:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7642232#M110696</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2017-12-21T15:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polyli</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7658467#M110697</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The lisp works fine now.&lt;/P&gt;&lt;P&gt;The only thing that I don't get to work is to save the export file (txt)&amp;nbsp;directly.&lt;/P&gt;&lt;P&gt;Now it prompts to save the file. All the given&amp;nbsp;defaults like name, extension and location&amp;nbsp;are good so the "only"thing I want to &lt;SPAN&gt;accomplish&lt;/SPAN&gt; is an automatic enter (click the&amp;nbsp;save button)&amp;nbsp;at this point.&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="Save-txt.jpg" style="width: 513px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/444759iAEB29F1DB5ED5C1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Save-txt.jpg" alt="Save-txt.jpg" /&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;Thanks (again)&amp;nbsp;for the help.&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>Tue, 02 Jan 2018 13:53:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7658467#M110697</guid>
      <dc:creator>djurk_haas</dc:creator>
      <dc:date>2018-01-02T13:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polyli</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7658565#M110698</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3048599"&gt;@djurk_haas&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;....The only thing that I don't get to work is to save the export file (txt)&amp;nbsp;directly.&lt;/P&gt;
&lt;P&gt;Now it prompts to save the file. All the given&amp;nbsp;defaults like name, extension and location&amp;nbsp;are good so the "only"thing I want to &lt;SPAN&gt;accomplish&lt;/SPAN&gt; is an automatic enter (click the&amp;nbsp;save button)&amp;nbsp;at this point.&lt;/P&gt;
&lt;P&gt;...&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, then you don't need a dialog anymore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is the following line in the code, where the (getfiled) command shows a dialog and returns a filename inc. filepath.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;(setq fn (getfiled "Point Export File" "" "txt" 1))&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So replace that line with the command where you manually concatenate a filename:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(setq fn (strcat (getvar 'DWGPREFIX) (vl-string-subst "txt" "dwg" (getvar 'DWGNAME))))&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2018 14:33:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7658565#M110698</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2018-01-02T14:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polyli</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7662330#M110699</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3048599"&gt;@djurk_haas&lt;/a&gt;&amp;nbsp;asked privately about using the entitiy's handle for an ID, but wasn't sure how.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the entity is just an ENAME, then &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;(cdr (assoc 5 (entget ename)))&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the entity is a vla-object, then &lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;(vlax-get object 'Handle)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either method will return the entity's unique handle as a hexadecimal string.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jan 2018 21:54:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7662330#M110699</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2018-01-03T21:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polyli</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7663303#M110700</link>
      <description>&lt;P&gt;I don't get working&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Original code (ID is hyperlink) works good:&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;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (princ (geturl hnd) fh)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(princ "\n" fh)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I put in the code&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;(cdr (assoc 5 (entget ename)))&lt;/FONT&gt;&lt;/STRONG&gt;, see below,&amp;nbsp;for handle ID it gives an error: bad argument type: lentityp nil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (princ (cdr (assoc 5 (entget ename))) fh)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(princ "\n" fh)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I put in the code&amp;nbsp;&lt;STRONG&gt;&lt;FONT color="#0000ff"&gt;(vlax-get object 'Handle)&lt;/FONT&gt;&lt;/STRONG&gt;, see below,&amp;nbsp;for handle ID it gives an error: bad argument type: VLA-OBJECT nil&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(princ (vlax-get object 'Handle) fh)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;(princ "\n" fh)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am&amp;nbsp;I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 10:25:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7663303#M110700</guid>
      <dc:creator>djurk_haas</dc:creator>
      <dc:date>2018-01-04T10:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polyli</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7663979#M110701</link>
      <description>&lt;P&gt;My apologies.&amp;nbsp; I was just using ename and object as examples of a symbol name.&lt;/P&gt;
&lt;P&gt;Your code doesn't use either of those names as symbols, so they don't exist and thus the error.&lt;/P&gt;
&lt;P&gt;You have to use instead which ever symbol name in your code is applicable.&amp;nbsp; Perhaps en?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or if ENTITY is what you want to use, then it is already a list of entity data,&lt;/P&gt;
&lt;P&gt;so (cdr (assoc 5 ENTITY)) will work.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 14:46:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7663979#M110701</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2018-01-04T14:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polyli</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7664033#M110702</link>
      <description>&lt;P&gt;Hello John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried the code but it gives for every polyline the ID: 1A1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1A1&lt;BR /&gt;181961.69375053,25334.52290171,0&lt;BR /&gt;181733.65336776,25106.48251894,0&lt;BR /&gt;183291.34703831,23548.7888484,0&lt;BR /&gt;180865.96922467,21123.41103476,0&lt;BR /&gt;180466.45402158,21522.92623784,0&lt;BR /&gt;180395.74334346,21452.21555973,0&lt;BR /&gt;178292.10054115,23555.85836204,0&lt;BR /&gt;181016.22941567,26279.98723656,0&lt;BR /&gt;1A1&lt;BR /&gt;178428.21859652,28867.99805571,0&lt;BR /&gt;175774.80040012,26214.57985931,0&lt;BR /&gt;175375.28519704,26614.09506239,0&lt;BR /&gt;175304.57451892,26543.38438427,0&lt;BR /&gt;173200.9317166,28647.02718659,0&lt;BR /&gt;175925.06059112,31371.15606111,0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 14:59:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7664033#M110702</guid>
      <dc:creator>djurk_haas</dc:creator>
      <dc:date>2018-01-04T14:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polyli</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7665583#M110703</link>
      <description>&lt;P&gt;Please post your latest code so that we can see how and where you are getting the handle for each polyline.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2018 00:09:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7665583#M110703</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2018-01-05T00:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polyli</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7666580#M110704</link>
      <description>&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;See also my post:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Re: Offset Multiple Polylines to (new or current) layer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;01-04-2018 06:51 AM&lt;/SPAN&gt; &lt;SPAN&gt;in reply to:&lt;/SPAN&gt; &lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365" target="_blank"&gt;BeekeeCZ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There I have&amp;nbsp;added also some drawings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2018 11:18:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7666580#M110704</guid>
      <dc:creator>djurk_haas</dc:creator>
      <dc:date>2018-01-05T11:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polyli</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7667203#M110705</link>
      <description>&lt;P&gt;I think you need to change this line...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;	      (princ (cdr (assoc 5 &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;ENTITY&lt;/FONT&gt;&lt;/STRONG&gt;)) fh)

to

	      (princ (cdr (assoc 5 &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;ent&lt;/FONT&gt;&lt;/STRONG&gt;)) fh)
&lt;/PRE&gt;
&lt;P&gt;being one for each itm of sset.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jan 2018 15:06:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/7667203#M110705</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2018-01-05T15:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polylines</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10010801#M110706</link>
      <description>&lt;P&gt;Hi everyone, i have a problem similar to "djurk_haas". I have a dwg file from which i try to extract the coordinates of the polylines with the name association attached. I don't understand where i'm wrong. I've been trying to change the code but i can't export, the exported name gives me a nil name.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also attach the work files. Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 20:10:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10010801#M110706</guid>
      <dc:creator>mihai_bantas</dc:creator>
      <dc:date>2021-01-18T20:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polylines</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10010852#M110707</link>
      <description>&lt;P&gt;I think we would need to see how the &lt;FONT color="#000000"&gt;&lt;STRONG&gt;(geturl)&lt;/STRONG&gt;&lt;/FONT&gt; function is defined.&amp;nbsp; [Or is it missing?]&amp;nbsp; I see it referred to earlier in the thread, but I don't see a function definition anywhere, and it's not listed in the AutoLisp Functions Reference.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 20:32:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10010852#M110707</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-01-18T20:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polylines</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10010988#M110708</link>
      <description>&lt;P&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Hi, i have to admit that i am lost with this problem.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I tried to adapt the code to my file.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I adapted my file to the Office.dwg file.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;I do not understand why it does not work.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="JLqJ4b ChMk0b"&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 21:30:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10010988#M110708</guid>
      <dc:creator>mihai_bantas</dc:creator>
      <dc:date>2021-01-18T21:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polylines</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10011021#M110709</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3045705"&gt;@mihai_bantas&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;.... I have a dwg file from which i try to extract the coordinates of the polylines with the name association attached. ...&lt;SPAN style="font-family: inherit;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;What is the "name association"?&amp;nbsp; The (geturl) function seems to be about a hyperlink, but if you want the entity name [which &lt;EM&gt;will not be the same&lt;/EM&gt; the next time you open the drawing], or the text content, or the handle, of the Text object it crosses, something different would be appropriate.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 21:51:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10011021#M110709</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-01-18T21:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polylines</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10011024#M110710</link>
      <description>&lt;P&gt;I don't see what your geturl function is/does, but it looks like it is supposed to create a string, but your hnd variable is an entity name.&amp;nbsp; I am guessing that your geturl function retrieves the hyperlink attached to the hnd entity.&amp;nbsp; You should inspect what that function returns to see if it is a valid filename base, or perhaps there is no hyperlink attached.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 21:52:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10011024#M110710</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2021-01-18T21:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polylines</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10011048#M110711</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3930636"&gt;@john.uhden&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I don't see what your geturl function is/does....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's not their [that is, not &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3045705"&gt;@mihai_bantas&lt;/a&gt;&amp;nbsp;'s] function, but as far as I can tell first appears in&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;'s message 3, and that's marked as a Solution, so I hope they can show us a definition, or possibly the OP &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3048599"&gt;@djurk_haas&lt;/a&gt;&amp;nbsp;who accepted that as a Solution.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 22:05:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10011048#M110711</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-01-18T22:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polylines</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10011084#M110712</link>
      <description>&lt;P&gt;Hi, by&amp;nbsp;&lt;SPAN&gt;activating this function&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;(princ (geturl hnd) fh)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;(princ "\n" fh)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt; in the code gives me the following result displayed for example for polyline A1 :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nil &lt;FONT color="#FF0000"&gt;(&lt;SPAN&gt;so how do i write the content of the text A1 in the result instead of nil)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;579902.95324265,326515.86691102,0.00000000&lt;BR /&gt;579957.45804532,326585.73148024,0.00000000&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(if (= (cdr (assoc 38 ent)) nil)&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;i changed the wave to 38 in 0, 1, 5&amp;nbsp; and 50 no results&lt;/FONT&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;(setq elv 0)&lt;/P&gt;&lt;P&gt;(setq elv (cdr (assoc 38 ent)))&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 22:27:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10011084#M110712</guid>
      <dc:creator>mihai_bantas</dc:creator>
      <dc:date>2021-01-18T22:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting multiple polylines coordinates, with an ID for the exported polylines</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10011290#M110713</link>
      <description>&lt;P&gt;Yes, that was odd of BeekeeCZ not to have included the function definition.&amp;nbsp; Whatever it is, he should probably be using the handle instead.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2021 00:38:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/exporting-multiple-polylines-coordinates-with-an-id-for-the/m-p/10011290#M110713</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2021-01-19T00:38:11Z</dc:date>
    </item>
  </channel>
</rss>

