Nkey Posted December 9, 2020 Share Posted December 9, 2020 Hello, Does anyone know of a command, macro or a lisp that deletes all xlines on a drawing. I know i can use quick select and filter by object but it takes too long. Thanks. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted December 9, 2020 Share Posted December 9, 2020 (defun c:Foo (/ s ) (and (setq s (ssget "_X" '((0 . "XLINE")))) (command "_.erase" s "") ) (princ) ) 2 Quote Link to comment Share on other sites More sharing options...
Nkey Posted December 9, 2020 Author Share Posted December 9, 2020 Thank you Tharwat ! Quote Link to comment Share on other sites More sharing options...
Tharwat Posted December 9, 2020 Share Posted December 9, 2020 You're welcome. Quote Link to comment Share on other sites More sharing options...
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.