Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I am trying to find a solution how to get the distance along a curve from a specified point lying on the curve. I specify a point in this way:
(setq
curveobj (entsel)
closepnt (vlax-curve-getclosestpointto (car curveobj) (cadr curveobj))
)
Now I need the following steps:
1. Find out the distance from closepnt to the start of the curve;
2. Find out the distance from closepnt to the end of the curve;
3. Compare these two distances, and if distance 1 is less than distance 2 then return T, otherwise nil.
Thanks in advance for your help.
`
Solved! Go to Solution.