![](/skins/images/ABA0E78225AF87C0962CCAF313AA51FB/responsive_peak/images/icon_anonymous_message.png)
Not applicable
08-02-2017
03:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to get the distance until a certain point but keep getting the same error. The point exist in the line.
this is my code:
(setq Ent (entsel "Select the polyline : " ) )
(setq Vl-Obj (vlax-ename->vla-Object (car Ent )) )
(setq p2 (list -102469.3 -47412.9 0.0)
(vlax-curve-getDistAtPoint vl-obj pt2)
Solved! Go to Solution.