Message 1 of 5
get intersection point problem
Not applicable
07-20-2011
09:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi, i'm having problem with the intersectwith function
It maybe a simple problem for you guys, but I can't find the answer for this problem
I tried to keep the intersection point of two lines in a variable of point2d named poinintersection as shown below
dim pointintersection as point2d
pointintersection = lineseg1.IntersectWith(lineseg2)
but then it resulted error
Value of type '1-dimensional array of Autodesk.AutoCAD.Geometry.Point2d' cannot be converted to 'Autodesk.AutoCAD.Geometry.Point2d'.
so, what should i do to get the intersection point using intersectwithfunction ?
thank you