I have defined into my code a line and a circle
How do I get the intersection between those 2?
I have the following code but in VS 2010 is telling me this:
'Public Sub IntersectWith(entityPointer As Autodesk.AutoCAD.DatabaseServices.Entity, intersectType As Autodesk.AutoCAD.DatabaseServices.Intersect, points As Autodesk.AutoCAD.Geometry.Point3dCollection, thisGraphicSystemMarker As Long, otherGraphicSystemMarker As Long)' is obsolete: 'Use the overload taking IntPtr instead.'.
Dim Point11 AsNewPoint3dCollection
Line1.IntersectWith(circle1,Intersect.OnBothOperands, Point11, 0, 0)
It is working but when I will switch to Autocad 2013 I have to use a different method to get the intersection?
Instead of 0 you'll have to pass in IntPtr.Zero.
Autodesk Developer Network
Line1.IntersectWith(circle1,Intersect.OnBothOperands, Point11, IntPtr.Zero, IntPtr.Zero)
I find out what do you mean
Access a broad range of knowledge to help get the most out of your products and services.