Thursday, February 19, 2009

Forcing DWG format version for save in AutoCAD.

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\<<>>\General

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

This variable can be set to the following values:

* 48 - AutoCAD 2010 DWG format (estimated)
* 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.

No comments:

Post a Comment

  © Blogger templates The Professional Template by Ourblogtemplates.com 2008

Back to TOP