Author Topic: intersectwith on 2011  (Read 2571 times)

0 Members and 1 Guest are viewing this topic.

Quigs

  • Guest
intersectwith on 2011
« on: September 23, 2010, 02:15:02 PM »
Good day to all.
I have a routine that uses the “intersectwith” function, from AutoCAD 2009.
I recently upgraded to 2011, and I get the following error:


IntersectWith(entityPointer As Autodesk.AutoCAD.DatabaseServices.Entity,
intersectType As Autodesk.AutoCAD.DatabaseServices.Intersect,
points As Autodesk.AutoCAD.Geometry.Point3dCollection,
thisGraphicSystemMarker As Integer,
otherGraphicSystemMarker As Integer)' is obsolete: 'Use the overload taking IntPtr instead.'.


Does anyone know how to fix this, or maybe where there is an example?

Cheers,

Martin.

kaefer

  • Guest
Re: intersectwith on 2011
« Reply #1 on: September 23, 2010, 02:43:41 PM »
I have a routine that uses the “intersectwith” function, from AutoCAD 2009.
I recently upgraded to 2011, and I get the following error:
Quote
IntersectWith(entityPointer As Autodesk.AutoCAD.DatabaseServices.Entity,
intersectType As Autodesk.AutoCAD.DatabaseServices.Intersect,
points As Autodesk.AutoCAD.Geometry.Point3dCollection,
thisGraphicSystemMarker As Integer,
otherGraphicSystemMarker As Integer)' is obsolete: 'Use the overload taking IntPtr instead.'.

That bad?  You're on Update 1?  http://www.theswamp.org/index.php?topic=34979.0

Cheers, Thorsten
(still stuck with 2010)