Hello,
With interactive manipulation, I can Ctrl+A, then Shift, then use mouse to specify a rectangular area, then Del to erase everything outside the rectangular area. I must use Ctrl+A instead of Select command because Ctrl+A can pick up unseen objects which Select All can not.
Now that I want to make the serial manipulation into a macro. I found Ctrl+A to be ai_selall but how to represent Shift key stroke in a macro?
Regards,
Bruce
You are correct that Select All will not select Unseen objects.
But the following WILL. This is technically AutoLISP code but that doesn't prohibit you from using it in a macro or script (you could just as easily type it at the command line). This will select EVERYTHING in the current dwg file regardless of what "space" it's in -- Model Space, Paperspace and All layout tabs.
(ssget "x")
Don Ireland
Engineering Design Technician
Hi Don,
I then want to specify a rectangular area with lower left coner at 0,0 and upper right coner at 841,594, then delete everything (ssget "x") picks up but only outside that rectangular.
How to write such a macro?
Thanks,
Bruce
Don Ireland
Engineering Design Technician