hello,
I would like to know how can I configure cad for mac in such a way as to ALWAYS save my files in version 2004 automatically so that no one will have trouble opening my fles.
I used to have it configured like this on my PC but on my Mac I haven't found the "button".
Thank you,
Veronica
Solved! Go to Solution.
Solved by maxim_k. Go to Solution.
Hi Veronica,
From Autodesk WikiHelp:
"Setting the default format for a drawing file can help when working in a mixed environment of AutoCAD users that are on different releases.
In AutoCAD for Microsoft Windows, there is a setting in the Options dialog box to set the default drawing file format that is used when using the SAVEAS command. The same setting is not in the Application Preferences dialog box on AutoCAD for Mac, but the setting can still be changed using the "DefaultFormatForSave" environment variable which is in AutoCAD for Microsoft Windows as well.
For example, the following sets the AutoCAD 2007/LT 2007 Drawing file format as the default format:
(setenv "DefaultFormatForSave" "36")
Change "36" in the example above example to one of the following based on the default format you want to use:
1 - AutoCAD R12 DXF
12 - AutoCAD 2000 DWG
13 - AutoCAD 2000 DXF
24 - AutoCAD 2004 DWG
25 - AutoCAD 2004 DXF
36 - AutoCAD 2007 DWG
37 - AutoCAD 2007 DXF
48 - AutoCAD 2010 DWG
49 - AutoCAD 2010 DXF
50 - AutoCAD 2010 DWT"
So, in your case you have to type at command prompt (be attentive - variable name is case sensitive)
(setenv "DefaultFormatForSave" "24")
and hit Return
HTH
Maxim
HI, I have AUTOCAD 2013 full version for MAC and I would like to know how can I configure cad for mac in such a way as to ALWAYS save my files in version 2004 automatically so that no one will have trouble opening my files. I already read the solution but I COULDN´T could you explain please, how can I put the (setenv "DefaultFormatForSave" "24")
where??? inside the autocad ? in the command line??? I TRY A LOT BUT I DIDN´T FIND THE WAY I NEED HELP!!!! thank you!!!!
Maxim wrote:
So, in your case you have to type at command prompt (be attentive - variable name is case sensitive)
(setenv "DefaultFormatForSave" "24")
Problem is CL won't let me do it. It deletes all text when I hit Space between words.
What am I doing wrong?
Thanks,
Marcel
Thank you for answered but I typed in command line stenv enter and appears setvariable, if I type SETENV appears
(Unknown command "SETENV". Press F1 for help. ) so I don´t know what it´s happening
I hope someone could help me!!!!
Hi Marcel,
(setenv "DefaultFormatForSave" "24")
is an AutoLISP statement (may be you know about AutoLISP programming interface included with AutoCAD) - so in order to let AutoCAD to recognize the input from the command line as AutoLISP statement and let you to use spaces in the statement, you have to include it in parenthesis - start with ( and end with ).
@pattyvv1 - the same advice for you.
Maxim
Hello Maxim,
Thought it looked like a LISP command but asked anyway just to make sure.
Question is can I load AutoLISP under AC LT 2013? I can't seem to find it anywhere.
Thanks again,
Marcel
Maxim, thank you for answed, I have a rutine of LISP, this rutine I had it since a long time ago, a friend of mine gave me, so in LOAD APLICCATION I load it, but I don´t know how I can change it? Could you explain me in which program can I change and how? I am sending to you my lisp rutine I hope you can help me...
thank you!
Hi,
For editing LSP files on Mac I'm using TextWrangler text editor - it is free and you can get it from App Store or from
http://www.barebones.com/products/textwrangler/
Another thing - what do you want to change in this file?
ACAD.LSP file has special meaning in AutoCAD, you can read about it in On-line Help:
As I see - ACAD.LSP file came to you from Windows version of AutoCAD, three commands, defined in it as S::STARTUP function won't be loaded because the paths to the .lsp files pointed to "Windows" based directory structure (for example - (load "c:/progra~1/autoca~1/chtext.lsp"))
Except this there are some syntax errors in this file (don't know where for now, because it is necessary to look through the whole file to find the errors).
Maxim
HI PATTY,
You don't need to put (setenv "DefaultFormatForSave" "24") statement to ACAD.LSP file, because once you set "DefaultFormatForSave" environment variable to 24 it stays 24 (all drawings will be saved in 2004 format from this point in all future sessions of AutoCAD) until you change it to another value.
So you need to issue this AutoLISP statement at the command prompt only once:
Command: (setenv "DefaultFormatForSave" "24") <- Hit Return here
"24"
You can check variable with:
Command: (getenv "DefaultFormatForSave") <- Hit Return here
"24"
As you see you should get "24" after you hit Return.
Maxim
I am trying to do this same thing on AutoCAD 2012 LT for mac, and I can't make this LISP command work. I would love to be able to save as earlier version, because I need to collaborate with someone who is working in 2007. Is there any way to make this happen with 2012LT?
Hi,
You can try the solution here:
http://macacad.wordpress.com/2012/09/03/setting-default-format-for-save-in-autocad-lt-for-mac/
HTH
Maxim