AnsweredAssumed Answered

Weird result with end point data

Question asked by Harold Black on Mar 21, 2018
Latest reply on Mar 22, 2018 by Harold Black

I've been trying to figure out this problem but can't seem to find where the error is. What this code does thus far is draw an array of vertical lines and trims them to the spline. I will then extract the endpoints of the vertical lines where they touch the spline for a future calculation. I'm using the same bit of code for when I found the endpoints of the spline, except that I'm now using it in a loop to step through each vertical line. When I print the intPoint variable, for some reason 10,000 is added to intPoint. Why is this? I'm using SolidWorks 2018. I've attached the test file and the macro.