CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products []
Cesky English Deutsch
 Visitors: 2509 

CAD tip CAD tip # 6439:

Question CAD 
 %  platform  category 
Q - question

Forcing DWG format version for save in AutoCAD.

A - answer AutoCAD allows to save DWG drawing files also in older versions of the DWG format. This setting for the DWG format can be done in the Options dialog, on the "Open and Save" tab.

With the following less-known trick you can force an older save format also from a menu macro, from a LISP utility or through a site-wide setting in the Registry (e.g. using GPO, logon script, etc.).

The default save format in AutoCAD is controlled by the environment variable "DefaultFormatForSave". This value is stored in the Registry - e.g.:

HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R17.2\ACAD-7001:409\Profiles\<< Unnamed profile >>\General

and you can set it with the function (setenv).

This variable can be set to the following values:

  • 48 - AutoCAD 2010 DWG format
  • 36 - AutoCAD 2007 DWG format
  • 24 - AutoCAD 2004 DWG format
  • 12 - AutoCAD 2000 DWG format
So e.g. the function (setenv "DefaultFormatForSave" "24") will set the default save format in AutoCAD 2009 to DWG2004.

Other possible values for DefaultFormatForSave are e.g. 1=R12 DXF, 13=2000 DXF, 49=2010 DXF, 50=2010 DWT, 61=2013 DXF, 62=2013 DWT

100% *  CAD 
17.12.2008    26180x  
Comments   Tell a friend

See also:
Tip 10903:How to import an Illustrator file (.AI) into AutoCAD (.DWG)?
Tip 10702:How to find which AutoCAD version was used to save a particular DWG drawing?
Tip 10556:AutoCAD 2015 and 2016 do not allow to select paper size for Designjet T120/T520.
Tip 10461:Unattended DWG plotting and PDF publishing without AutoCAD.
Tip 9757:How to remove the EDU stamp "Created in an educational version" from a DWG drawing file?

Back   All CAD Tips All CAD tips&tricks

Displaying elevation labels on a Civil 3D surface. « | » Force layer for selected commands (objects).

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Link your AutoCAD texts with Excel tables/sheets. Export. Change. Import.
Try DwgText 2015 More info

Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.