<?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 Building a line and a circle in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/building-a-line-and-a-circle/m-p/6668181#M126892</link>
    <description>&lt;P&gt;What i am trying to do is to build a line and a circle in autocad using lisp.&lt;BR /&gt;The code:&lt;BR /&gt;( DEFUN C:myprog ()&lt;BR /&gt;( COMMAND "_erase" "_all" "" )&lt;BR /&gt;( COMMAND "_line" ( LIST 10 10 ) ( LIST 10 100 ) "" )&lt;BR /&gt;( COMMAND "_circle" "10.0,50.0" 30.0 "" )&lt;BR /&gt;)&lt;BR /&gt;As a result I get a correctly build line, but a wrong circle. The center of the circle is in the point (10,10) - the beginning of the line. But it's supposed to be in (10,50).&lt;BR /&gt;What am I doing wrong?&lt;/P&gt;</description>
    <pubDate>Fri, 04 Nov 2016 17:09:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-11-04T17:09:00Z</dc:date>
    <item>
      <title>Building a line and a circle</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/building-a-line-and-a-circle/m-p/6668181#M126892</link>
      <description>&lt;P&gt;What i am trying to do is to build a line and a circle in autocad using lisp.&lt;BR /&gt;The code:&lt;BR /&gt;( DEFUN C:myprog ()&lt;BR /&gt;( COMMAND "_erase" "_all" "" )&lt;BR /&gt;( COMMAND "_line" ( LIST 10 10 ) ( LIST 10 100 ) "" )&lt;BR /&gt;( COMMAND "_circle" "10.0,50.0" 30.0 "" )&lt;BR /&gt;)&lt;BR /&gt;As a result I get a correctly build line, but a wrong circle. The center of the circle is in the point (10,10) - the beginning of the line. But it's supposed to be in (10,50).&lt;BR /&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 17:09:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/building-a-line-and-a-circle/m-p/6668181#M126892</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-11-04T17:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Building a line and a circle</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/building-a-line-and-a-circle/m-p/6668298#M126893</link>
      <description>&lt;P&gt;I tested and it shows up correctly at 10,50 at my end.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 17:48:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/building-a-line-and-a-circle/m-p/6668298#M126893</guid>
      <dc:creator>Ranjit_Singh</dc:creator>
      <dc:date>2016-11-04T17:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Building a line and a circle</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/building-a-line-and-a-circle/m-p/6668307#M126894</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;What i am trying to do is to build a line and a circle in autocad using lisp.&lt;BR /&gt;The code:&lt;BR /&gt;( DEFUN C:myprog ()&lt;BR /&gt;( COMMAND "_erase" "_all" "" )&lt;BR /&gt;( COMMAND "_line" ( LIST 10 10 ) ( LIST 10 100 ) "" )&lt;BR /&gt;( COMMAND "_circle" "10.0,50.0" 30.0 "" )&lt;BR /&gt;)&lt;BR /&gt;As a result I get a correctly build line, but a wrong circle. The center of the circle is in the point (10,10) - the beginning of the line. But it's supposed to be in (10,50).&lt;BR /&gt;What am I doing wrong?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Try&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(DEFUN C:myprog ()
    (COMMAND "_erase" "_all" "")
    (COMMAND "_line" "_NON" (LIST 10 10) "_NON" (LIST 10 100) "")
    (COMMAND "_circle" "_NON" "10.0,50.0" 30.0 "")
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps, &lt;BR /&gt;Henrique&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 17:52:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/building-a-line-and-a-circle/m-p/6668307#M126894</guid>
      <dc:creator>hmsilva</dc:creator>
      <dc:date>2016-11-04T17:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Building a line and a circle</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/building-a-line-and-a-circle/m-p/6668381#M126895</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;...&lt;BR /&gt;( DEFUN C:myprog ()&lt;BR /&gt;( COMMAND "_erase" "_all" "" )&lt;BR /&gt;( COMMAND "_line" ( LIST 10 10 ) ( LIST 10 100 ) "" )&lt;BR /&gt;( COMMAND "_circle" "10.0,50.0" 30.0 "" )&lt;BR /&gt;)&lt;BR /&gt;....&lt;BR /&gt;What am I doing wrong?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To answer your question, you did not turn OSNAPS off. If&amp;nbsp;they are still running, you can get unpredictible results.&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/75977"&gt;@hmsilva&lt;/a&gt;&amp;nbsp;used the most simple way to do that.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2016 18:30:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/building-a-line-and-a-circle/m-p/6668381#M126895</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2016-11-04T18:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: Building a line and a circle</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/building-a-line-and-a-circle/m-p/6668924#M126896</link>
      <description>The difference, clearly to me anyway, is that the OP had a running object snap on, presumably to endpoint, so it picked up the endpoint of the line just created. That's why Henrique's use of "_None" temporarily turns off the snap so that the point supplied is taken literally.</description>
      <pubDate>Sat, 05 Nov 2016 00:27:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/building-a-line-and-a-circle/m-p/6668924#M126896</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2016-11-05T00:27:18Z</dc:date>
    </item>
  </channel>
</rss>

