ronjonp Posted August 6, 2021 Posted August 6, 2021 Be aware that command calls AND entdel will not delete items on all layouts. You have to use vla-delete. ;; Exampe to erase all polylines (if (setq s (ssget "_X" '((0 . "LWPOLYLINE")))) (foreach e (mapcar 'cadr (ssnamex s)) (vl-catch-all-apply 'vla-delete (list (vlax-ename->vla-object e))) ) ) 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.