Hi,
I am currently trying to make a button, that is like the combine tool, to make a tangent to tangent trim in the surface they are on.

I am using the "hm_getdirectionpanel" to select two points along each of the lines to get a direction vector, however when I try to create a vector from the x, y and z co-ordinates/direction the "hm_getdir..." command spits out, there is an error message that the created vector has zero magnitude.
Attached is the code I used to try and fix what I thought was the problem, but I am still getting the same message.

Any suggestions would be helpful and appreciated.
Thanks,
Michael