<?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: AcCoreConsole and IntersectWith Woes in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/accoreconsole-and-intersectwith-woes/m-p/9288923#M114872</link>
    <description>&lt;P&gt;I've seen similar results using vla-intersectwith in lisp routines. We've even copied the offending objects 100 units over and then it works. It is definitely inconsistent. I've starting using algebraic methods to determine intersections to avoid the issue. It could also be that the two entities have different z-values. The properties box uses the current drawing precision for display so a z-value of 0.001 may display as 0. To make sure, select both objects and set the z-value to zero.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2020 17:29:34 GMT</pubDate>
    <dc:creator>jwhite</dc:creator>
    <dc:date>2020-01-31T17:29:34Z</dc:date>
    <item>
      <title>AcCoreConsole and IntersectWith Woes</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/accoreconsole-and-intersectwith-woes/m-p/9288299#M114871</link>
      <description>&lt;P&gt;Has anyone had any luck using:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Entity1.IntersetWith(Entity2, Intersect.OnBothOperands, pts3d, IntPtr.Zero, IntPtr.Zero)&lt;/P&gt;&lt;P&gt;within the AcCoreConsole?&amp;nbsp; In my case, Entity1 is a line and Entity2 is an arc.&amp;nbsp; I know they intersect without having to extend either one, and Z-values for both entities are 0.000000.&amp;nbsp; Even within a Try-Catch phrase, it craps out with no indication as to why it failed.&lt;/P&gt;&lt;P&gt;Albert Szilvasy?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 13:57:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/accoreconsole-and-intersectwith-woes/m-p/9288299#M114871</guid>
      <dc:creator>larry.daubenspeck</dc:creator>
      <dc:date>2020-01-31T13:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: AcCoreConsole and IntersectWith Woes</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/accoreconsole-and-intersectwith-woes/m-p/9288923#M114872</link>
      <description>&lt;P&gt;I've seen similar results using vla-intersectwith in lisp routines. We've even copied the offending objects 100 units over and then it works. It is definitely inconsistent. I've starting using algebraic methods to determine intersections to avoid the issue. It could also be that the two entities have different z-values. The properties box uses the current drawing precision for display so a z-value of 0.001 may display as 0. To make sure, select both objects and set the z-value to zero.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 17:29:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/accoreconsole-and-intersectwith-woes/m-p/9288923#M114872</guid>
      <dc:creator>jwhite</dc:creator>
      <dc:date>2020-01-31T17:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: AcCoreConsole and IntersectWith Woes</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/accoreconsole-and-intersectwith-woes/m-p/9292561#M114873</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; Yes, Z-values for both entities are zeroes out as far as I can take them.&amp;nbsp; Might have to resort to the algebraic method as well.&amp;nbsp; Very frustrating!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Feb 2020 13:29:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/accoreconsole-and-intersectwith-woes/m-p/9292561#M114873</guid>
      <dc:creator>larry.daubenspeck</dc:creator>
      <dc:date>2020-02-03T13:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: AcCoreConsole and IntersectWith Woes</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/accoreconsole-and-intersectwith-woes/m-p/9303555#M114874</link>
      <description>&lt;P&gt;Finally solved this.&amp;nbsp; The two intersecting entities were first created and returned from independent functions (DrawLine and DrawArc).&amp;nbsp; &amp;nbsp;Inside these "Draw" functions, I had borrowed heavily from sample code I found in the Help section.&amp;nbsp; That code does most of the actual work inside a "Using..." phrase.&amp;nbsp; The entity being returned (a Line or Arc in this case) was tested for being "Nothing."&amp;nbsp; But even though it passed the "nothing" test,&amp;nbsp;they still weren't liked by the IntersectWith function for some reason.&amp;nbsp; When the "Using" phrase ends, the scope ends, things get cleaned up, disposed, or whatever.&amp;nbsp; What I found is that by replacing the "Using" phrase with a "With" phrase, the returned entity was suddenly liked by the IntersectWith function.&amp;nbsp; Problem solved.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2020 15:14:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/accoreconsole-and-intersectwith-woes/m-p/9303555#M114874</guid>
      <dc:creator>larry.daubenspeck</dc:creator>
      <dc:date>2020-02-07T15:14:21Z</dc:date>
    </item>
  </channel>
</rss>

