
Registered forum members do not see this ad.
Hi
I want to select a polyline such that one of its end point liest at point p1 and the other end point at point p2. Using ssget how can we do this or what is the simplest technique for such selection.
One way is to get the start point and end point coordinates of the polyline and match them with p1 and p2 respectively, but is their some simpler method.
Thanks.
Registered forum members do not see this ad.
You need to define a selection filter - the code below will return all polylines that pass the two points:
Regards,Code:(setq Point1st (getpoint "\nFirst point: ")) (setq Point2nd (getpoint "\nsecond point: ")) (ssget "_X" (list '(0 . "LWPOLYLINE") (cons 10 Point1st) (cons 10 Point2nd)))
Bookmarks