Distance between point (XYZ) and 3D polyline

Distance between point (XYZ) and 3D polyline

Anonymous
Not applicable
445 Views
1 Reply
Message 1 of 2

Distance between point (XYZ) and 3D polyline

Anonymous
Not applicable

Hello,

I am new in the field of Lisp and I want to create or get a lisp code that calculates the shortest distance between a point (known in XYZ) and a 3D curve polyline.

 

Thanks for your help !  Smiley Happy

 

 

0 Likes
446 Views
1 Reply
Reply (1)
Message 2 of 2

hmsilva
Mentor
Mentor

@Anonymous wrote:

Hello,

I am new in the field of Lisp and I want to create or get a lisp code that calculates the shortest distance between a point (known in XYZ) and a 3D curve polyline.

 

Thanks for your help !  Smiley Happy

 

 


Hello LoicP8956 and welcome to the Autodesk Community!

 

The vlax-curve-getClosestPointTo function is what you're looking for...

 

Hope this helps,
Henrique

EESignature

0 Likes