Code to check if the POINT is on the LINE/PLINE

DeFuN

Usenet Archive
Joined
Aug 5, 2003
Messages
7
Reaction score
0
   This is the first time I visit this forum. Very interested. I'm writing a lisp routine in which need a code to check if a POINT '(x y z) is on the LINE/PLINE . Does any one help me ?. Hope a lots.
 
(setq point_id (list (x,y,z)))
this will store ur point or co-ordinate value.
(setq sset (ssget "c" point_id point_id (list (cons 0 "lwpolyline")))) this will create a selection set for pline on that point. if it is not returning nil means pline is crossing from that point. regards nagesh
 
   Thanks Nagesh ! Sory for my late reply. I'm so busy. It's a very good idea. Thanks again. :)
 

Latest threads

Back
Top