<?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 IntersectWith in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/intersectwith/m-p/2944402#M61629</link>
    <description>&lt;P&gt;Does IntersectWith work with 2011?&amp;nbsp; If not what is the fix?&amp;nbsp; Apparently I cannot find the apparent intersection point of two lines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I try to use IntersectWith, I get an error that it is obsolete.&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2011 21:46:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-08T21:46:18Z</dc:date>
    <item>
      <title>IntersectWith</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith/m-p/2944402#M61629</link>
      <description>&lt;P&gt;Does IntersectWith work with 2011?&amp;nbsp; If not what is the fix?&amp;nbsp; Apparently I cannot find the apparent intersection point of two lines.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I try to use IntersectWith, I get an error that it is obsolete.&lt;FONT size="2"&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2011 21:46:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith/m-p/2944402#M61629</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-08T21:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith/m-p/2944990#M61630</link>
      <description>&lt;P&gt;it's not an error, it's just a warning, as far as i know&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Public Sub IntersectWith(ByVal entityPointer As Autodesk.AutoCAD.DatabaseServices.Entity, ByVal intersectType As Autodesk.AutoCAD.DatabaseServices.Intersect, ByVal points As Autodesk.AutoCAD.Geometry.Point3dCollection, ByVal thisGraphicSystemMarker As System.IntPtr, ByVal otherGraphicSystemMarker As System.IntPtr)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you use integers as the last 2 parameters, you get the obsolete warning, use System.IntPtr instead&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2011 11:18:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith/m-p/2944990#M61630</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-09T11:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith/m-p/2947062#M61631</link>
      <description>&lt;P&gt;Thanks this worked for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Setup 3d plane and point collection&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myPlaneWCS As Plane = New Plane(New Point3d(0, 0, 0), New Vector3d(0, 0, 1))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myIntPntCol As Point3dCollection = New Point3dCollection()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myintptr01 As IntPtr = New IntPtr()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myintptr02 As IntPtr = New IntPtr()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Get intersecting point collection&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; objFirstLine.IntersectWith(objSecondLine, Intersect.ExtendBoth, myPlaneWCS, myIntPntCol, myintptr01, myintptr02)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim pntIntPnt As Point3d&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Check if number of intersecting points is one&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If myIntPntCol.Count = 1 Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Create a new point from intersecting point&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pntIntPnt = New Point3d(myIntPntCol(0).X, myIntPntCol(0).Y, 0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox("Intersecting error.", MsgBoxStyle.Critical, "")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2011 15:28:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith/m-p/2947062#M61631</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-10T15:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: IntersectWith</title>
      <link>https://forums.autodesk.com/t5/net-forum/intersectwith/m-p/3634630#M61632</link>
      <description>&lt;P&gt;Thanks for posting this information it helped me out tremendously.&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>Wed, 26 Sep 2012 14:27:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/intersectwith/m-p/3634630#M61632</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-26T14:27:08Z</dc:date>
    </item>
  </channel>
</rss>

