<?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: how to create lisp to make a profile from text file in autocad in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12670284#M15927</link>
    <description>&lt;P&gt;Try This&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Profile PRO.gif" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1342826i86FF62C58A7B02A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Profile PRO.gif" alt="Profile PRO.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2024 08:12:48 GMT</pubDate>
    <dc:creator>kajanthangavel</dc:creator>
    <dc:date>2024-03-28T08:12:48Z</dc:date>
    <item>
      <title>how to create lisp to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663160#M15915</link>
      <description>&lt;P&gt;Hello everyone&lt;/P&gt;&lt;P&gt;I have some information like this format Kilometer&amp;nbsp; Elevation as a text file!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="giscivil92_0-1711355334717.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1341235i1A187FFD454A09B8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="giscivil92_0-1711355334717.png" alt="giscivil92_0-1711355334717.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I appreciate it if you guide me, how can I create a lisp to create a profile from a file like the above format in AutoCAD!?&lt;/P&gt;&lt;P&gt;Thanks for your attention&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 10:03:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663160#M15915</guid>
      <dc:creator>giscivil92</dc:creator>
      <dc:date>2024-03-25T10:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to create list to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663264#M15916</link>
      <description>&lt;P&gt;Simplest way&lt;/P&gt;
&lt;P&gt;Rewrite your profile data as let say&lt;/P&gt;
&lt;P&gt;0,100&lt;/P&gt;
&lt;P&gt;20,80&lt;/P&gt;
&lt;P&gt;30,90....&lt;/P&gt;
&lt;P&gt;Place UCS origin to start from 0,0 of profile you are creating&lt;/P&gt;
&lt;P&gt;copy all data to clipboard&lt;/P&gt;
&lt;P&gt;start command PLINE and paste&lt;/P&gt;
&lt;P&gt;finish PLINE command with enter&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 09:25:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663264#M15916</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2024-03-25T09:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to create list to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663296#M15917</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;Bonjour &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10557415"&gt;@giscivil92&lt;/a&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;To do what you’re asking, you’d have to give us examples. &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;I understand that we start from a TXT file, but what should we get as a drawing? &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;Thank you for helping us to help you.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Amicalement&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 09:53:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663296#M15917</guid>
      <dc:creator>-didier-</dc:creator>
      <dc:date>2024-03-25T09:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to create lisp to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663377#M15918</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/691430"&gt;@-didier-&lt;/a&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;&lt;/P&gt;&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;A vertical profile with grids like this,&amp;nbsp;&lt;/P&gt;&lt;P&gt;read the information from text file and create grid.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="giscivil92_0-1711362447917.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1341310i45F5A97B98614907/image-size/medium?v=v2&amp;amp;px=400" role="button" title="giscivil92_0-1711362447917.png" alt="giscivil92_0-1711362447917.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 10:30:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663377#M15918</guid>
      <dc:creator>giscivil92</dc:creator>
      <dc:date>2024-03-25T10:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: how to create lisp to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663469#M15919</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10557415"&gt;@giscivil92&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/691430"&gt;@-didier-&lt;/a&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;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A vertical profile with grids like this,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;read the information from text file and create grid.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Sorry have no time to work on your lisp, currently at work. This lisp&amp;nbsp; is so simple but you didn't start with lisp programing.&lt;/P&gt;
&lt;P&gt;Anyway, Align UCS along vertical axis (command UCS OB) and paste points in pline command. It takes exactly same time as open the lisp and pick starting point. &lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 11:29:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663469#M15919</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2024-03-25T11:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to create lisp to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663624#M15920</link>
      <description>&lt;P&gt;Hi, I did the same work at my previous company. I think this is help you.&lt;/P&gt;&lt;LI-CODE lang="lisp"&gt;(defun LWPoly ( lst )
  (entmakex
    (append
      (list
        (cons 0 "LWPOLYLINE")
        (cons 100 "AcDbEntity")
        (cons 100 "AcDbPolyline")
        (cons 90 (length lst))
      )
      (mapcar '(lambda ( p ) (cons 10 (trans p 1 0))) lst)
    )
  )
)
(defun c:pro (/ pline ht ch)
(command "ucs" (getpoint "\nPick starting point :") "")
	(while
		(and
			(setq ch (getreal "\nType or paste Station : "))
			(setq ht (getreal "\nType or paste Hight : "))
		)
	(setq pline (cons (list ht (- 0 ch)) pline))
	)
(LWPoly pline)
(command "ucs" "p" )
(princ)
)&lt;/LI-CODE&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="Profile (PRO).gif" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1341351iA424F02863C728A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Profile (PRO).gif" alt="Profile (PRO).gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 12:38:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663624#M15920</guid>
      <dc:creator>kajanthangavel</dc:creator>
      <dc:date>2024-03-25T12:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to create lisp to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663687#M15921</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6662555"&gt;@kajanthangavel&lt;/a&gt;&amp;nbsp;Hi&lt;/P&gt;&lt;P&gt;Thanks for your attention, That's it but I want to draw those grids and labels along with polyline!&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 13:05:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12663687#M15921</guid>
      <dc:creator>giscivil92</dc:creator>
      <dc:date>2024-03-25T13:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to create lisp to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12664063#M15922</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;Bonjour &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6662555"&gt;@kajanthangavel&lt;/a&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;I wasn’t sure.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt; I haven’t worked on it yet because I thought it should be a complete program.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;I’m out of time to do it right away, it’s pretty simple, you want to &lt;U&gt;learn&lt;/U&gt; to do it, or you want &lt;U&gt;we&lt;/U&gt; do it for you?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Question : Y coordinates must be negative in all cases?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000FF"&gt;Amicalement&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Mar 2024 15:39:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12664063#M15922</guid>
      <dc:creator>-didier-</dc:creator>
      <dc:date>2024-03-25T15:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to create lisp to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12665174#M15923</link>
      <description>&lt;P&gt;I am just an old civil engineer and all the profiles I have ever created or seen have the distance on the X axis and the elevation on the Y axis.&amp;nbsp; Is there a reason your profile seems (to me at least) to be rotated 90 deg.?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 01:02:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12665174#M15923</guid>
      <dc:creator>autoid374ceb4990</dc:creator>
      <dc:date>2024-03-26T01:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: how to create lisp to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12665405#M15924</link>
      <description>&lt;P&gt;Next question will be how to scale in X &amp;amp; Y direction.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 04:03:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12665405#M15924</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2024-03-26T04:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to create lisp to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12665409#M15925</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11054766"&gt;@autoid374ceb4990&lt;/a&gt;&amp;nbsp;Yes sure, but according to specific work I need to rotate the profile 90 degree!&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 04:08:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12665409#M15925</guid>
      <dc:creator>giscivil92</dc:creator>
      <dc:date>2024-03-26T04:08:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to create lisp to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12665413#M15926</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6254908"&gt;@Sea-Haven&lt;/a&gt;&amp;nbsp;yes you are right , that needs a scale in y direction equals 10 times bigger than x&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 04:10:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12665413#M15926</guid>
      <dc:creator>giscivil92</dc:creator>
      <dc:date>2024-03-26T04:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to create lisp to make a profile from text file in autocad</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12670284#M15927</link>
      <description>&lt;P&gt;Try This&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Profile PRO.gif" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1342826i86FF62C58A7B02A8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Profile PRO.gif" alt="Profile PRO.gif" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 08:12:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/how-to-create-lisp-to-make-a-profile-from-text-file-in-autocad/m-p/12670284#M15927</guid>
      <dc:creator>kajanthangavel</dc:creator>
      <dc:date>2024-03-28T08:12:48Z</dc:date>
    </item>
  </channel>
</rss>

