Message 1 of 13
Custom Command for several tasks (read below)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi Everyone,
I have to repeat several steps to clean up Civil 3D drawing and make them readable on regular AutoCAD.
These drawings have Xrefs, sometimes a lot of them, and the process that I am following is this one:
- Copy each Xref in a new folder
- Open the main drawing and change the path of each Xref to the new folder
- Open each Xref and start cleaning with:
- Audit - y
- Purge - a and Purge - r
- Change - All - P - E - 0
- Qselect - Line - Start / End Z to 0
- Qselect - Polyline
- Qselect - Arc
Now I need to make this process faster with a macro, and so far I was able to write the code till step 3:
^C^C_audit;y;-purge;a;*;n;-purge;r;*;n;_change;ALL;;P;E;0;;
Does anyone have any idea on how to continue?
Also, is it possible to create a command that I can start on the main drawing and automatically repeats these steps for each Xref?
Thank you in advance!