Aarer Posted December 22, 2013 Share Posted December 22, 2013 Hi I have 800 files where all text fields in the drawing (about 10-20 text/block in every file) copied from the same block. I need to delete 5 block from the all drawings and these blocks located exactly in the same xy coordinates. I cant delete these blocks by name because all 20 blocks in same drawing have same name. I need lisp routine - delete block with name _TXT_ from location X_cord1; Y_cord1 and X_cord2; Ycord2 and so on. Maybe someone know some solution. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted December 22, 2013 Share Posted December 22, 2013 You can use SSGET with filters and use a small "W" window this is a bit of a guide of how to (setq ss1 (ssget "W" '((0 . "INSERT") (2 . "blockname")) x1,y1 x1,y1 x2,y2 x2,y2)) ; just add all the pick windows then loop through the selection set and erase each entity 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.