Jump to content

Macro with a mind of its own?


Recommended Posts

Posted

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!

Posted

Works Fine For Me

What Layer Is Your Tb On

Are The Lines Gone Or Just Turned Off?

Posted

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!

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...