Hi everyone,
I've been scratching my head about this for too long. I have a LSP file (see attached) that is supposed to find the intersection points between vertical spacing lines and a profile that spans the lines. With those points, it finds the coordinate and slope at each point, plots a polyline as a check, and outputs the values to an Excel file.
I've run into a situation a handful of times with a setup of spacing and profile lines (example attached), where the program just isn't finding all of the intersection points. In this file, you'll see a bunch of vertical spacing lines, a profile spline, and the resulting "check" polyline (on layer "0"). It's with the "check" polyline that it is most obvious which intersection points it isn't finding, because the polyline jumps.
The spacing lines definitely intersect with the spline. I've verified everything to be at elevation 0. I've copied and replaced each of the elements. I just don't know why it's not finding the intersection points. I assume it's related to the spline somehow, but I don't know if or how.
As a consequence, when it draws the polyline and populates the Excel sheet, it reverts to the last value when it cannot find one. So, multiple points exist on the spacing lines just before it skips a bunch. This isn't a big deal to me right now.
Any help is very much appreciated.
Thanks.
Oh, if you want full functionality, the program loads the external program "getExcel", which I found here. An alert appears each time it loads a new worksheet, but simply acknowledging works fine.
Solved! Go to Solution.
Solved by phanaem. Go to Solution.
Interesting and puzzling. It does seem to be something wrong with the spline rather than the lines. Certain regions of the spline won't intersect wtih anything else drawn using intersectwith. The intersect osnap has no problem though. Must the profile be a spline rather than a polyline?