Message 1 of 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Some may already know this but I couldn't find any documentation about the fact that the only points retrieved from the vlax-curve-getclosestpointto for splines are their control vertiices, NOT THE ACTUAL CURVE.
Try this to test. I was surprised.
(SETQ E (CAR(ENTSEL "\nSelect a spline object: ")))
(while (setq pt (getpoint "\nPick point: "))
(command "line" pt (vlax-curve-getclosestpointto e pt) "")
)
Even working outside of lisp, perpendicular snaps are unreliable. Using AutoCAD 2023.
Architect, Registered NC, VA, SC, & GA.
Solved! Go to Solution.