<?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: converting txt file to lsp in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10523733#M73245</link>
    <description>&lt;P&gt;Check the "File name extensions" checkbox in File Explorer on the View tab.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 05 Aug 2021 20:13:45 GMT</pubDate>
    <dc:creator>JTBWorld</dc:creator>
    <dc:date>2021-08-05T20:13:45Z</dc:date>
    <item>
      <title>converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10523572#M73242</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently having issue with converting a txt file to lsp, even though I have put .lsp at the end of the file name&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please tell me how I can override this.&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="itsnathanblake_0-1628190338800.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/949094i9CA9606F22F2013A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="itsnathanblake_0-1628190338800.png" alt="itsnathanblake_0-1628190338800.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 19:05:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10523572#M73242</guid>
      <dc:creator>itsnathanblake</dc:creator>
      <dc:date>2021-08-05T19:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10523611#M73243</link>
      <description>&lt;P&gt;and what happen to it?&lt;/P&gt;
&lt;P&gt;Is it write protected? crash your system?...........&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 19:44:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10523611#M73243</guid>
      <dc:creator>Patchy</dc:creator>
      <dc:date>2021-08-05T19:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10523710#M73244</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/558015"&gt;@Patchy&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;and what happen to it? ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Is the issue only that Windows Explorer is displaying its file Type as "Text Document" rather than "AutoLISP Application source"?&amp;nbsp; Does it work anyway?&amp;nbsp; If not, what is the "issue"?&amp;nbsp; Can you APPLOAD it?&amp;nbsp; Are there any messages?&amp;nbsp; If it loads, what happens when you try to run it?&amp;nbsp; I will start from the assumption that its contents are valid AutoLisp code, but does that need to be verified?&amp;nbsp; Etc., etc.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 20:04:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10523710#M73244</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2021-08-05T20:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10523733#M73245</link>
      <description>&lt;P&gt;Check the "File name extensions" checkbox in File Explorer on the View tab.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2021 20:13:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10523733#M73245</guid>
      <dc:creator>JTBWorld</dc:creator>
      <dc:date>2021-08-05T20:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10524126#M73246</link>
      <description>Drag and drop it over an open DWG file in AutoCAD: did AutoCAD recognize and load the lisp?&lt;BR /&gt;Or did it give you an error message or offer to do something else with it?&lt;BR /&gt;&lt;BR /&gt;Do it now, answer your own question on whether you actually changed the file extension or not, that's all that matters.</description>
      <pubDate>Thu, 05 Aug 2021 23:44:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10524126#M73246</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2021-08-05T23:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10524519#M73247</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9904641"&gt;@itsnathanblake&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It looks like you have named the file as brt.lsp but still the extension of the file is .txt. The .txt is not visible since the option of "file name extension" is disabled. Try turning it on (see snapshot below) in file explorer and then remove the file extension .txt from file and press enter that would fix the issue&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vinodkl_0-1628225809792.png" style="width: 871px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/949242i3D725382024D83CF/image-dimensions/871x98?v=v2" width="871" height="98" role="button" title="vinodkl_0-1628225809792.png" alt="vinodkl_0-1628225809792.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 04:59:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10524519#M73247</guid>
      <dc:creator>vinodkl</dc:creator>
      <dc:date>2021-08-06T04:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10524779#M73248</link>
      <description>&lt;P&gt;Hi guys thanks for all the assistance on this one, the last guy to comment got it tho it was because I didn't have file extensions in view. all sorted now so thanks for your inputs.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Aug 2021 07:48:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/10524779#M73248</guid>
      <dc:creator>itsnathanblake</dc:creator>
      <dc:date>2021-08-06T07:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/13436357#M73249</link>
      <description>&lt;P&gt;(defun c:ciftNumara ()&lt;BR /&gt;(setq cnt 1)&lt;BR /&gt;(setq ss (ssget '((0 . "TEXT,MTEXT")))) ; Sadece text ve mtext seç&lt;BR /&gt;(if ss&lt;BR /&gt;(progn&lt;BR /&gt;(setq len (sslength ss))&lt;BR /&gt;(setq i 0)&lt;BR /&gt;(while (&amp;lt; i len)&lt;BR /&gt;(setq ent (ssname ss i))&lt;BR /&gt;(setq val (itoa cnt))&lt;BR /&gt;(command "_.change" ent "" "_p" "_value" val "")&lt;BR /&gt;(setq i (1+ i))&lt;BR /&gt;(setq ent (ssname ss i))&lt;BR /&gt;(command "_.change" ent "" "_p" "_value" val "")&lt;BR /&gt;(setq i (1+ i))&lt;BR /&gt;(setq cnt (1+ cnt))&lt;BR /&gt;)&lt;BR /&gt;)&lt;BR /&gt;(prompt "\nText nesneleri seçilmedi.")&lt;BR /&gt;)&lt;BR /&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 21:13:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/13436357#M73249</guid>
      <dc:creator>18120536</dc:creator>
      <dc:date>2025-04-21T21:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/13985666#M359540</link>
      <description>&lt;P&gt;;;; ======================================================&lt;BR /&gt;;;; YQARCH 2024 FULL CLONE (Legal Rebuild)&lt;BR /&gt;;;; Clone fitur YQARCH 6.7.1&lt;BR /&gt;;;; Support AutoCAD 2021–2024&lt;BR /&gt;;;; ======================================================&lt;/P&gt;&lt;P&gt;(defun YQ:mkLayer (n c)&lt;BR /&gt;(if (not (tblsearch "LAYER" n))&lt;BR /&gt;(command "-layer" "m" n "c" c "" "")&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQLAYER ()&lt;BR /&gt;(YQ:mkLayer "YQ_WALL" 8)&lt;BR /&gt;(YQ:mkLayer "YQ_DOOR" 3)&lt;BR /&gt;(YQ:mkLayer "YQ_WINDOW" 4)&lt;BR /&gt;(YQ:mkLayer "YQ_STAIR" 6)&lt;BR /&gt;(YQ:mkLayer "YQ_TEXT" 2)&lt;BR /&gt;(YQ:mkLayer "YQ_DIM" 1)&lt;BR /&gt;(princ "\n[YQARCH] Layer siap.")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQWALL (/ p1 p2 t)&lt;BR /&gt;(setvar "clayer" "YQ_WALL")&lt;BR /&gt;(setq t (/ (getreal "\nTebal dinding (cm): ") 100.0))&lt;BR /&gt;(setq p1 (getpoint "\nTitik awal: "))&lt;BR /&gt;(setq p2 (getpoint p1 "\nTitik akhir: "))&lt;BR /&gt;(command "pline" p1 p2 "")&lt;BR /&gt;(command "offset" t "l" p1 "")&lt;BR /&gt;(command "offset" (- t) "l" p1 "")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQDOOR (/ p w)&lt;BR /&gt;(setvar "clayer" "YQ_DOOR")&lt;BR /&gt;(setq p (getpoint "\nTitik engsel pintu: "))&lt;BR /&gt;(setq w (/ (getreal "\nLebar pintu (cm): ") 100.0))&lt;BR /&gt;(command "line" p (polar p 0 w))&lt;BR /&gt;(command "arc" p (polar p 0 w) (polar p (/ pi 2) w))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQWINDOW (/ p w)&lt;BR /&gt;(setvar "clayer" "YQ_WINDOW")&lt;BR /&gt;(setq p (getpoint "\nTitik tengah jendela: "))&lt;BR /&gt;(setq w (/ (getreal "\nLebar jendela (cm): ") 100.0))&lt;BR /&gt;(command "line"&lt;BR /&gt;(list (- (car p) (/ w 2)) (cadr p))&lt;BR /&gt;(list (+ (car p) (/ w 2)) (cadr p)))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQSTAIR (/ p n w h i)&lt;BR /&gt;(setvar "clayer" "YQ_STAIR")&lt;BR /&gt;(setq p (getpoint "\nTitik awal tangga: "))&lt;BR /&gt;(setq n (getint "\nJumlah anak tangga: "))&lt;BR /&gt;(setq w (/ (getreal "\nLebar injakan (cm): ") 100.0))&lt;BR /&gt;(setq h (/ (getreal "\nTinggi tanjakan (cm): ") 100.0))&lt;BR /&gt;(setq i 0)&lt;BR /&gt;(repeat n&lt;BR /&gt;(command "line"&lt;BR /&gt;(list (+ (car p) (* i w)) (cadr p))&lt;BR /&gt;(list (+ (car p) (* (+ i 1) w)) (+ (cadr p) (* i h))))&lt;BR /&gt;(setq i (+ i 1))&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQROOM (/ p t)&lt;BR /&gt;(setvar "clayer" "YQ_TEXT")&lt;BR /&gt;(setq p (getpoint "\nPosisi teks ruang: "))&lt;BR /&gt;(setq t (getstring "\nNama ruang: "))&lt;BR /&gt;(command "text" p 0.3 0 t)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQDIM ()&lt;BR /&gt;(setvar "clayer" "YQ_DIM")&lt;BR /&gt;(command "dimlinear")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(princ "\nYQARCH 2024 FULL CLONE berhasil dimuat.")&lt;BR /&gt;(princ)&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 02:02:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/13985666#M359540</guid>
      <dc:creator>yudaclass12</dc:creator>
      <dc:date>2026-01-22T02:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/13985667#M359541</link>
      <description>&lt;P&gt;;;; ======================================================&lt;BR /&gt;;;; YQARCH 2024 FULL CLONE (Legal Rebuild)&lt;BR /&gt;;;; Clone fitur YQARCH 6.7.1&lt;BR /&gt;;;; Support AutoCAD 2021–2024&lt;BR /&gt;;;; ======================================================&lt;/P&gt;&lt;P&gt;(defun YQ:mkLayer (n c)&lt;BR /&gt;(if (not (tblsearch "LAYER" n))&lt;BR /&gt;(command "-layer" "m" n "c" c "" "")&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQLAYER ()&lt;BR /&gt;(YQ:mkLayer "YQ_WALL" 8)&lt;BR /&gt;(YQ:mkLayer "YQ_DOOR" 3)&lt;BR /&gt;(YQ:mkLayer "YQ_WINDOW" 4)&lt;BR /&gt;(YQ:mkLayer "YQ_STAIR" 6)&lt;BR /&gt;(YQ:mkLayer "YQ_TEXT" 2)&lt;BR /&gt;(YQ:mkLayer "YQ_DIM" 1)&lt;BR /&gt;(princ "\n[YQARCH] Layer siap.")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQWALL (/ p1 p2 t)&lt;BR /&gt;(setvar "clayer" "YQ_WALL")&lt;BR /&gt;(setq t (/ (getreal "\nTebal dinding (cm): ") 100.0))&lt;BR /&gt;(setq p1 (getpoint "\nTitik awal: "))&lt;BR /&gt;(setq p2 (getpoint p1 "\nTitik akhir: "))&lt;BR /&gt;(command "pline" p1 p2 "")&lt;BR /&gt;(command "offset" t "l" p1 "")&lt;BR /&gt;(command "offset" (- t) "l" p1 "")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQDOOR (/ p w)&lt;BR /&gt;(setvar "clayer" "YQ_DOOR")&lt;BR /&gt;(setq p (getpoint "\nTitik engsel pintu: "))&lt;BR /&gt;(setq w (/ (getreal "\nLebar pintu (cm): ") 100.0))&lt;BR /&gt;(command "line" p (polar p 0 w))&lt;BR /&gt;(command "arc" p (polar p 0 w) (polar p (/ pi 2) w))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQWINDOW (/ p w)&lt;BR /&gt;(setvar "clayer" "YQ_WINDOW")&lt;BR /&gt;(setq p (getpoint "\nTitik tengah jendela: "))&lt;BR /&gt;(setq w (/ (getreal "\nLebar jendela (cm): ") 100.0))&lt;BR /&gt;(command "line"&lt;BR /&gt;(list (- (car p) (/ w 2)) (cadr p))&lt;BR /&gt;(list (+ (car p) (/ w 2)) (cadr p)))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQSTAIR (/ p n w h i)&lt;BR /&gt;(setvar "clayer" "YQ_STAIR")&lt;BR /&gt;(setq p (getpoint "\nTitik awal tangga: "))&lt;BR /&gt;(setq n (getint "\nJumlah anak tangga: "))&lt;BR /&gt;(setq w (/ (getreal "\nLebar injakan (cm): ") 100.0))&lt;BR /&gt;(setq h (/ (getreal "\nTinggi tanjakan (cm): ") 100.0))&lt;BR /&gt;(setq i 0)&lt;BR /&gt;(repeat n&lt;BR /&gt;(command "line"&lt;BR /&gt;(list (+ (car p) (* i w)) (cadr p))&lt;BR /&gt;(list (+ (car p) (* (+ i 1) w)) (+ (cadr p) (* i h))))&lt;BR /&gt;(setq i (+ i 1))&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQROOM (/ p t)&lt;BR /&gt;(setvar "clayer" "YQ_TEXT")&lt;BR /&gt;(setq p (getpoint "\nPosisi teks ruang: "))&lt;BR /&gt;(setq t (getstring "\nNama ruang: "))&lt;BR /&gt;(command "text" p 0.3 0 t)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;(defun c:YQDIM ()&lt;BR /&gt;(setvar "clayer" "YQ_DIM")&lt;BR /&gt;(command "dimlinear")&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 02:06:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/13985667#M359541</guid>
      <dc:creator>yudaclass12</dc:creator>
      <dc:date>2026-01-22T02:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/13985679#M359542</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/18517788"&gt;@yudaclass12&lt;/a&gt;&amp;nbsp; Why do you just post code without any explanation? This isn't even the lisp forum and the thread you posted to has nothing to do with your code.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jan 2026 02:27:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/13985679#M359542</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2026-01-22T02:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: converting txt file to lsp</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/14056506#M361437</link>
      <description>&lt;P&gt;(defun c:MALLA3D ()&lt;/P&gt;&lt;P&gt;(setq espaciado 20) ; separación de barras&lt;BR /&gt;(setq tamaño 200) ; tamaño de la malla&lt;BR /&gt;(setq altura 20) ; separación entre mallas&lt;/P&gt;&lt;P&gt;; crear barras en X&lt;BR /&gt;(setq i 0)&lt;BR /&gt;(while (&amp;lt;= i tamaño)&lt;BR /&gt;(command "BOX" (list i 0 0) 1 tamaño 1)&lt;BR /&gt;(setq i (+ i espaciado))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;; crear barras en Y&lt;BR /&gt;(setq i 0)&lt;BR /&gt;(while (&amp;lt;= i tamaño)&lt;BR /&gt;(command "BOX" (list 0 i 0) tamaño 1 1)&lt;BR /&gt;(setq i (+ i espaciado))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;; copiar la malla hacia arriba&lt;BR /&gt;(command "COPY" "ALL" "" "0,0,0" (list 0 0 altura))&lt;/P&gt;&lt;P&gt;; crear columna&lt;BR /&gt;(command "CYLINDER" (list (/ tamaño 2) (/ tamaño 2) altura) 5 100)&lt;/P&gt;&lt;P&gt;(princ)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2026 04:18:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/converting-txt-file-to-lsp/m-p/14056506#M361437</guid>
      <dc:creator>jcarvajalinoaXZWZV</dc:creator>
      <dc:date>2026-03-17T04:18:27Z</dc:date>
    </item>
  </channel>
</rss>

