- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm looking to create a simple one-click drawing cleanup routine (macro/lisp) that includes all the actions below.
1. Select all blocks and explode (including nested blocks) - I use QSELECT for this and have to perform multiple times to explode any nested blocks.
2. Delete all wipeouts - I use QSELECT to perform this function
3. Select all items, place on Layer 0 and change all properties to BYBLOCK - I use CHPROP command
4. Delete all duplicate/overlapping objects - I use OVERKILL command
5. Fix any drawing errors - I use AUDIT command
6. Zoom extents and save drawing
I have managed to solve items 3-6 but have no idea how to convert QSELECT functions into macro format. My macro so far is:
^C^C_CHPROP;ALL;;LA;0;C;BYBLOCK;LT;BYBLOCK;LW;BYBLOCK;T;0;;-OVERKILL;ALL;;O;0.000001;I;N;P;D;N;B;Y;Y;T;Y;E;Y;A;Y;D;-PURGE;A;*;N;AUDIT;Y;ZOOM;E;
Any help would be appreciated.
Solved! Go to Solution.