TheSwamp
Code Red => .NET => Topic started by: badjo_5 on September 11, 2020, 05:56:08 PM
-
From Lee: http://www.theswamp.org/index.php?topic=42899.msg482410#msg482410
Is there something like vlax-curve-getclosestpointtoprojection for .Net?
3D poly with Nearest returns correct result (GetClosestPointTo), but without Osnap ...
-
Hi,
The Curve.GetClosestPointTo is overloaded. This overload (https://help.autodesk.com/view/OARX/2019/ENU/?guid=OREFNET-Autodesk_AutoCAD_DatabaseServices_Curve_GetClosestPointTo_Point3d__MarshalAsUnmanagedType_U1__bool) which takes a Vector3d as argument works the same as vlax-curve-getClosestPointToProjection.
-
Don't ask google, Gile knows!!
:yes: