Create a button that Saves a dwg as a 2013 version while overwriting the original.

Create a button that Saves a dwg as a 2013 version while overwriting the original.

gmclellanT542G
Enthusiast Enthusiast
161 Views
5 Replies
Message 1 of 6

Create a button that Saves a dwg as a 2013 version while overwriting the original.

gmclellanT542G
Enthusiast
Enthusiast

As the title describes. Our company creates and keeps our drawings in the 2024 .dwg format. We have a program that copies any plate drawings to sub folders separated by plate thickness under a folder labeled (CNC). 

 

This CNC folder is used more by our regular jobs, but we have a another side to our business that deals with Controlled Goods and the company that does the CNC for us there only can open 2013 drawings.

 

So we have to open drawings, do a little cleanup and do a SaveAs to 2013. I know we can do a batch SaveAs with DWG Trueview, but that means I just have to open another program, and I don't want too.

 

I want to create a button, that SaveAs a dwg as a 2013 version while overwriting the original.

 

Now I've already created the button, but I'm stuck on the macro. I'd rather not make a lisp, I was hoping for a simple macro. This is what I have, but I feel like I need a "Y" in there after the 2013 to accept the current filename and location, but it isn't working.

 

^C^C_FILEDIA;0;-SAVEAS;2013;;_FILEDIA;1;

 Could someone give me a hand please?

 

Thanks,

Greg

0 Likes
Accepted solutions (1)
162 Views
5 Replies
Replies (5)
Message 2 of 6

Blue_Mojito
Advocate
Advocate
Accepted solution

Try either of these:

^C^C_FILEDIA;0;_-SAVEAS;2013;;_Y;_FILEDIA;1;

^C^C_FILEDIA;0;_SAVEAS;2013;;_Y;_FILEDIA;1;

 

what version are you using?

0 Likes
Message 3 of 6

gbattinPH5TG
Advocate
Advocate

There is also the +SAVEAS ( with the plus sign prefix).

This way you don't have to change FILEDIA....

0 Likes
Message 4 of 6

gmclellanT542G
Enthusiast
Enthusiast

Hi Blue,

 

I'm using 2024.

The following did work for me. I had a dash where the underscore is before the "_SAVEAS" was. I swear I tried the underscore at one point, lol. Anyways, thank you!!

 

^C^C_FILEDIA;0;_SAVEAS;2013;;_Y;_FILEDIA;1;

0 Likes
Message 5 of 6

gmclellanT542G
Enthusiast
Enthusiast

While +SAVEAS does remove the need to change the FILEDIA, it's saving it in My Documents, not overwriting the existing file. This is what I was trying.

 

^C^C_+SAVEAS;dwG;2013;;_Y;
Message 6 of 6

Blue_Mojito
Advocate
Advocate

Yeah, I always get confused with the whole _save -save .-save