<?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: draw an arc tangent to 2 lines in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/draw-an-arc-tangent-to-2-lines/m-p/2880536#M349480</link>
    <description>&lt;P&gt;Glad you liked it, but I think you might want to add the lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(setq oldosm (getvar "osmode"))&lt;/P&gt;&lt;P&gt;(setvar "osmode" 0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;immediately after the first line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(defun-q C:LLARC()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and add&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(setvar "osmode" oldosm)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;immediately before the final (prin1) statement.&amp;nbsp; This turns off running endpoint smnaps until the LLARC command is finished.&amp;nbsp; If I had created the ARC the classy way using (entmake), like &lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;CADaStroumph did, rather than using the (command) function it wouldn't have that problem, but when you use the (command) function it's more or less as though you were actually picking points on the screen with your cursor.&amp;nbsp; So if OSMODE is set to 1 (endpoint snap) when you do (command "arc" p5 p6 lpick) it's as though you positioned your cursor at p5, which falls on the first line, and then the endpoint snap will send the arc command not the coordinates in p6 but the coordinates of the endpoint of the first line nearest to p6.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2011 21:41:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-01-13T21:41:23Z</dc:date>
  </channel>
</rss>

