DWG Destroyer Posted August 13, 2009 Posted August 13, 2009 Hey, I've put together a macro that will assist in tying up the loose ends in a drawing before issuing it. Rather than explaining it then reiterating, here is the code I have constructed so far; ^C^C-layer;s;0;;tilemode;0;zoom;all;-purge;all;;no;-scalelistedit;reset;y;exit;zoom;all;_qsave;close; It seems to do the job, although there is one flaw. When I initiate this macro, it runs through all the steps and closes the drawing file. When the drawing file is opened again, the title block in paper space has disappeared! Only the lines go, not the text, so I am left with a view port, paper space objects and a title block that does not show anything but the attributes within it. There's nothing in the code that instructs to alter the drawings layout, so why is this happening? Help! Quote
JohnM Posted August 13, 2009 Posted August 13, 2009 Works Fine For Me What Layer Is Your Tb On Are The Lines Gone Or Just Turned Off? Quote
DWG Destroyer Posted August 13, 2009 Author Posted August 13, 2009 My title block is on a layer called "CSP_NEG" with the text inside on a layer "CSP_TITLE TEXT". Through further interrogation it i have found that the block that holds all the linework nested within the title block itself gets purged despite its existence within the drawing! Quote
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.