Message 1 of 10
Can not select objects crossing an arc with ssget "F" neither ssget "CP" ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Having a polyline with arcs, I am using ssget "F" or ssget "CP" to select all objects crossing this polyline, but I noticed that some small objects intersecting some arcs in the pline were not selected !
(setq pr (fix (vlax-curve-getendparam pl)))
(setq lst '())
setq i 0)
(repeat (1+ pr)
(setq lst (cons (list (car (vlax-curve-getpointatparam pl i)) (cadr (vlax-curve-getpointatparam pl i))) lst)
i (1+ i)
)
)
(setq sel2 (ssget "_F" lst '((410 . "Model") (-4 . "<or") (0 . "LINE") (0 . "POLYLINE") (0 . "LWPOLYLINE") (-4 . "or>"))))