Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all.
In the case of Attachment 1, when I want to extract a rectangle tangent to rectangle A, I can process it with Lisp as follows.
(defun c:test2 (/ ent pts ss)
(setq ent (car (entsel)))
(setq pts (mapcar 'cdr (vl-remove-if '(lambda (x) (/= (car x) 10)) (entget ent))))
(setq ss (ssget "_CP" pts (list (cons 0 "LWPOLYLINE"))))
(ssdel ent ss)
)
In the case of the attached figure 2, is it possible to extract the rectangles B1 and B2 at once by making the rectangles A1 and A2 a List or a selection set?
Thank you.
Saitoib
Solved! Go to Solution.