WARNING :
'Autodesk.AutoCAD.DatabaseServices.Entity.IntersectWith(
Autodesk.AutoCAD.DatabaseServices.Entity,
Autodesk.AutoCAD.DatabaseServices.Intersect,
Autodesk.AutoCAD.Geometry.Point3dCollection,
long,
long)' is obsolete:
'Use the overload taking IntPtr instead.'
The reflected signatures are
[Obsolete("Use the overload taking IntPtr instead.")]
public void IntersectWith(Entity entityPointer, Intersect intersectType, Point3dCollection points, long thisGraphicSystemMarker, long otherGraphicSystemMarker)
{
}
public void IntersectWith(Entity entityPointer, Intersect intersectType, Point3dCollection points, IntPtr thisGraphicSystemMarker, IntPtr otherGraphicSystemMarker)
{
}
This was pretty easy
This was the offending statement :
ent1.IntersectWith(ent2, intersectType, pts, 0, 0);
could have used
ent1.IntersectWith(ent2, intersectType, pts, new IntPtr(0), new IntPtr(0));
decided to use
ent1.IntersectWith(ent2, intersectType, pts, IntPtr.Zero, IntPtr.Zero;