Hi -
I am trying to communicate between VBA and VLisp to use the vlax-curve functions using the setlispvar and evallispexpression code. I cannot seem to get the code to work properly. The attached file contains my code. The code attempts to draw a line from (0,0,0) to (100,100,0), then find the closest point to (50,55,0). The problem seems to be in translating the point variant to a point list. Any help would be greatly appreciated as I am thoroughly frustrated and "brain dead" at this point, knowing that I am overlooking something very obvious or doing something very dumb!!
Thanks in advance