<?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: LISP QUESTION FOR A CIRCLE COMMAND in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/lisp-question-for-a-circle-command/m-p/3508624#M348174</link>
    <description>&lt;P&gt;I'm a beginner with AutoLisp also, but I knew this one thanks to Lynn Allen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.youtube.com/watch?feature=player_detailpage&amp;amp;v=nnkX7M0Hikk"&gt;http://www.youtube.com/watch?feature=player_detailpage&amp;amp;v=nnkX7M0Hikk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun C:c3t () &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (command "circle" "3p" "TAN" pause "TAN" pause "NEAR" pause)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (princ)&lt;BR /&gt;)&lt;/P&gt;</description>
    <pubDate>Wed, 20 Jun 2012 16:19:15 GMT</pubDate>
    <dc:creator>nestly</dc:creator>
    <dc:date>2012-06-20T16:19:15Z</dc:date>
    <item>
      <title>LISP QUESTION FOR A CIRCLE COMMAND</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lisp-question-for-a-circle-command/m-p/3508544#M348173</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp;beginner&amp;nbsp;with Lisp Editor. I'm able to create basic functions (really basic &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ) I wan't to create a Lisp that will start a circle with 3 points wich the 3 point selection mode being:&lt;/P&gt;&lt;P&gt;1st:&amp;nbsp; TAN&lt;BR /&gt;2nd: TAN&lt;/P&gt;&lt;P&gt;3th:&amp;nbsp; NEAR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that what I need would look something like this, but I don't know if it's possible to insert a mouse click (for the selection) in the routine. :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun C:c3t (/) &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (command "circle" "3p" "TAN" &lt;U&gt;&lt;EM&gt;(MOUSE CLICK)&lt;/EM&gt;&lt;/U&gt; "TAN"&amp;nbsp;&lt;U&gt;&lt;EM&gt;(MOUSE CLICK)&lt;/EM&gt;&lt;/U&gt; "NEAR") &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2012 15:43:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lisp-question-for-a-circle-command/m-p/3508544#M348173</guid>
      <dc:creator>alx86</dc:creator>
      <dc:date>2012-06-20T15:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: LISP QUESTION FOR A CIRCLE COMMAND</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lisp-question-for-a-circle-command/m-p/3508624#M348174</link>
      <description>&lt;P&gt;I'm a beginner with AutoLisp also, but I knew this one thanks to Lynn Allen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.youtube.com/watch?feature=player_detailpage&amp;amp;v=nnkX7M0Hikk"&gt;http://www.youtube.com/watch?feature=player_detailpage&amp;amp;v=nnkX7M0Hikk&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun C:c3t () &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (command "circle" "3p" "TAN" pause "TAN" pause "NEAR" pause)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; (princ)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2012 16:19:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lisp-question-for-a-circle-command/m-p/3508624#M348174</guid>
      <dc:creator>nestly</dc:creator>
      <dc:date>2012-06-20T16:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: LISP QUESTION FOR A CIRCLE COMMAND</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lisp-question-for-a-circle-command/m-p/3508648#M348175</link>
      <description>&lt;P&gt;Thank a lot, exactly what I was looking for.&lt;BR /&gt;&lt;BR /&gt;I also add Lynn Allen to my subscription on Youtube &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2012 16:29:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lisp-question-for-a-circle-command/m-p/3508648#M348175</guid>
      <dc:creator>alx86</dc:creator>
      <dc:date>2012-06-20T16:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: LISP QUESTION FOR A CIRCLE COMMAND</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/lisp-question-for-a-circle-command/m-p/3509280#M348176</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm&amp;nbsp;beginner&amp;nbsp;with Lisp Editor. I'm able to create basic functions (really basic &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; ) I wan't to create a Lisp that will start a circle with 3 points wich the 3 point selection mode being:&lt;/P&gt;&lt;P&gt;1st:&amp;nbsp; TAN&lt;BR /&gt;2nd: TAN&lt;/P&gt;&lt;P&gt;3th:&amp;nbsp; NEAR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think that what I need would look something like this, but I don't know if it's possible to insert a mouse click (for the selection) in the routine. :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun C:c3t (/) &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; (command "circle" "3p" "TAN" &lt;U&gt;&lt;EM&gt;(MOUSE CLICK)&lt;/EM&gt;&lt;/U&gt; "TAN"&amp;nbsp;&lt;U&gt;&lt;EM&gt;(MOUSE CLICK)&lt;/EM&gt;&lt;/U&gt; "NEAR") &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Next, create a toolbar with your first button.&lt;/P&gt;&lt;P&gt;Where it shows the "Macro" line, inside the CUI, declare the following script:&lt;/P&gt;&lt;P&gt;^C^C.circle;3p;tan;\tan;\nea;\&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Backslash "\" is for user to specify a point on the screen.&lt;/P&gt;&lt;P&gt;Semi-colon ";" is equal to [Enter].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;untested.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jun 2012 22:15:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/lisp-question-for-a-circle-command/m-p/3509280#M348176</guid>
      <dc:creator>scot-65</dc:creator>
      <dc:date>2012-06-20T22:15:29Z</dc:date>
    </item>
  </channel>
</rss>

