<?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: Code debugging in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9386678#M77072</link>
    <description>&lt;P&gt;My customer. Yes, my customer has purchased AutoCAD, and he use AutoLISP for AutoCAD, and now he need your help to debug his code of AutoLISP&lt;/P&gt;</description>
    <pubDate>Thu, 19 Mar 2020 09:44:03 GMT</pubDate>
    <dc:creator>support201</dc:creator>
    <dc:date>2020-03-19T09:44:03Z</dc:date>
    <item>
      <title>Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9386599#M77070</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My customer is using add-on AutoLISP for AutoCAD. He made a code of AutoLISP inorder to export the table of Point Coordinates, but the output value after exporting is incorrect. For detail, the problem is that when he run Autolisp, the X coordinates of the output points were negative coordinates instead of positive as they should be . Additionally, the coỏrdinate origin moved to another position. Kindly see the attachment for more details&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help me to fix the code of AutoLISP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Duc Tran&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 08:53:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9386599#M77070</guid>
      <dc:creator>support201</dc:creator>
      <dc:date>2020-03-19T08:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9386649#M77071</link>
      <description>&lt;P&gt;Do I understand you correctly that you are providing some purchased services and the actual work you're using from us?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 09:24:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9386649#M77071</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2020-03-19T09:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9386678#M77072</link>
      <description>&lt;P&gt;My customer. Yes, my customer has purchased AutoCAD, and he use AutoLISP for AutoCAD, and now he need your help to debug his code of AutoLISP&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 09:44:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9386678#M77072</guid>
      <dc:creator>support201</dc:creator>
      <dc:date>2020-03-19T09:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9387463#M77073</link>
      <description>&lt;P&gt;Why not use DATAEXTRACTION .&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please show the dwg before the lisp was&amp;nbsp; applied&lt;/P&gt;</description>
      <pubDate>Thu, 19 Mar 2020 14:50:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9387463#M77073</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2020-03-19T14:50:20Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9388802#M77074</link>
      <description>&lt;P&gt;Hello Devitd,&lt;/P&gt;&lt;P&gt;I would like to provide the drawing before running LISP, pls see the attachment&lt;/P&gt;&lt;P&gt;When I use Dataextraction, there is a problem that when I export the table of coordinates inorder to manufacture there is no coordinate in the table&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 04:37:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9388802#M77074</guid>
      <dc:creator>support201</dc:creator>
      <dc:date>2020-03-20T04:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9389455#M77075</link>
      <description>&lt;P&gt;Find attached both the dwg&amp;nbsp; with&amp;nbsp; table and Xls , also the&amp;nbsp;CIRCLE DATA.dxe to be used when Data extraction dialog box ask&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&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>Fri, 20 Mar 2020 12:55:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9389455#M77075</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2020-03-20T12:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9389471#M77076</link>
      <description>&lt;P&gt;attached&lt;/P&gt;</description>
      <pubDate>Fri, 20 Mar 2020 13:00:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9389471#M77076</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2020-03-20T13:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9390881#M77077</link>
      <description>&lt;P&gt;Hello Devitg,&lt;/P&gt;&lt;P&gt;Thank you so much for your help. But I am afraid that the result is not correct. There are 2 points which their X coordinates should be 0. Kindly see the attachment&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 09:04:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9390881#M77077</guid>
      <dc:creator>support201</dc:creator>
      <dc:date>2020-03-21T09:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9391095#M77078</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;It seem to be the fact is your UCS. set it to World&amp;nbsp;&lt;/STRIKE&gt;&lt;/P&gt;&lt;P&gt;checking&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 13:15:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9391095#M77078</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2020-03-21T13:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9391136#M77079</link>
      <description>&lt;P&gt;I did check it , if I set UCS to world , and move all circles from the left-down-most,&amp;nbsp;to 000 , and a set a new dxe , it work as expected&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;. find attached&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 13:36:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9391136#M77079</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2020-03-21T13:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9391138#M77080</link>
      <description>&lt;P&gt;attached&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Mar 2020 13:38:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9391138#M77080</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2020-03-21T13:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9392953#M77081</link>
      <description>&lt;P&gt;Hello Devitg. thank you so much. the result is correct. But I need to debug my code in AutoLISP. Because I want to use AutoLISP to do not only exporting coordinates but also the other things. So could you please help me to find the issue in my code?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 06:21:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9392953#M77081</guid>
      <dc:creator>support201</dc:creator>
      <dc:date>2020-03-23T06:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9393014#M77082</link>
      <description>&lt;P&gt;There is no issue, but alle data are stored in the one and only WCS.&lt;/P&gt;
&lt;P&gt;If you read the object data -&amp;gt; WCS!&lt;/P&gt;
&lt;P&gt;UCS are for the User only, as help for a better workflow with less calculatings for the user (but more for the program).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you like to know what the coordinate are in UCS system, &lt;A href="http://help.autodesk.com/view/ACD/2020/ENU/?guid=GUID-1A316343-0B68-4DBE-8F49-B4D601CB8FCC" target="_blank" rel="noopener"&gt;Press Help [F1] and read about &lt;STRONG&gt;TRANS (LispFunction)&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(trans (cdr(assoc 10 (setq el (entget(setq en (car(entsel))))))) en 1) &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 07:33:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9393014#M77082</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2020-03-23T07:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9393152#M77083</link>
      <description>&lt;P&gt;Thanks so much. I tried to change the code from 0 to 1 but it failed. What should I do? Kindly see the attachments&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 09:20:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9393152#M77083</guid>
      <dc:creator>support201</dc:creator>
      <dc:date>2020-03-23T09:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9393270#M77084</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5541093"&gt;@support201&lt;/a&gt;&amp;nbsp; schrieb:&lt;BR /&gt;
&lt;P&gt;Thanks so much. I tried to change the code from 0 to 1 but it failed. What should I do? Kindly see the attachments&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I don't understand what your post have to do with my answer!?&lt;/P&gt;
&lt;P&gt;You new Table looks good except you changed "my setting" from OCS to ??? perhaps to WCS,&lt;/P&gt;
&lt;P&gt;i don't know - you didn't post the used new code here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem is: "We" know how Acad works, also Lispfunctions, but we don't know about your AutoCAD and Lisp knowledge,&lt;/P&gt;
&lt;P&gt;so it is difficult to answer in the best way for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sorry, i am out.&lt;/P&gt;
&lt;P&gt;It take too many time to teach all stuff from scratch (WorldCoordinateSystem WCS, User(defined)CoordinateSystem UCS, and for programming - Object coordinate system OCS / DXF 210)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your wanted coordinate system is active, like in your sample file,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;you can use me TRANS setting to convert Circle-Center coordinates from OCS to UCS data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't test your code, because you uses commands and didn't internationalized it,&lt;/P&gt;
&lt;P&gt;Text prompt are not in english, so it is hard to follow the steps for a successfull input.&lt;/P&gt;
&lt;P&gt;(I start CTC, what i have to type in to get the same result like you? CTC,16,2,A1,E(?),PickPoint(?),a Number(?),ObjectSelection(?), H(?) -&amp;gt; not working for example)&lt;/P&gt;
&lt;P&gt;Try this to set the PNTS variable:&lt;/P&gt;
&lt;P&gt;(setq pnts (append pnts (list (trans (cdr (assoc 10 (entget (ssname rfob n)))) (ssname rfob n) 1))))&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;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 10:14:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9393270#M77084</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2020-03-23T10:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9393608#M77085</link>
      <description>&lt;LI-CODE lang="markup"&gt;to do not only exporting coordinates but also the other things&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please clear what other thing , and try to translate from VN to EN&amp;nbsp; quoted text at&amp;nbsp; the LSP file&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 13:11:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9393608#M77085</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2020-03-23T13:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Code debugging</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9395294#M77086</link>
      <description>&lt;P&gt;I attached the code in English, pls see the attachments&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2020 04:28:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/code-debugging/m-p/9395294#M77086</guid>
      <dc:creator>support201</dc:creator>
      <dc:date>2020-03-24T04:28:05Z</dc:date>
    </item>
  </channel>
</rss>

