Save Method 2007 - only saves to 2007

Save Method 2007 - only saves to 2007

Anonymous
Not applicable
304 Views
6 Replies
Message 1 of 7

Save Method 2007 - only saves to 2007

Anonymous
Not applicable
The Document.Save method only saves to 2007 dwg files - this makes all add-ons and external programs that use it disregard your default saveas setting.

You can select what version to save to if you use the Document.SaveAs method instead, but why doesn't the save method just check the registry value for that default save setting & use it to determine to which version the dwg must be saved? I mean, why is the setting there, why not use it for all instances, not just the qsave command?
0 Likes
305 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
The Save method should use whatever you have set in the Preferences dialog
Open|Save tab.
wrote in message news:5428256@discussion.autodesk.com...
The Document.Save method only saves to 2007 dwg files - this makes all
add-ons and external programs that use it disregard your default saveas
setting.

You can select what version to save to if you use the Document.SaveAs method
instead, but why doesn't the save method just check the registry value for
that default save setting & use it to determine to which version the dwg
must be saved? I mean, why is the setting there, why not use it for all
instances, not just the qsave command?
0 Likes
Message 3 of 7

Anonymous
Not applicable
yes that's true, the save method will use whatever is set in the options
dialog box for the file format.

"Joe Sutphin" wrote in message
news:5430098@discussion.autodesk.com...
The Save method should use whatever you have set in the Preferences dialog
Open|Save tab.
wrote in message news:5428256@discussion.autodesk.com...
The Document.Save method only saves to 2007 dwg files - this makes all
add-ons and external programs that use it disregard your default saveas
setting.

You can select what version to save to if you use the Document.SaveAs method
instead, but why doesn't the save method just check the registry value for
that default save setting & use it to determine to which version the dwg
must be saved? I mean, why is the setting there, why not use it for all
instances, not just the qsave command?
0 Likes
Message 4 of 7

Anonymous
Not applicable
Thanks Bob, I appreciate the confirmation.

Joe ...

"Bob" wrote in message
news:5430228@discussion.autodesk.com...
yes that's true, the save method will use whatever is set in the options
dialog box for the file format.

"Joe Sutphin" wrote in message
news:5430098@discussion.autodesk.com...
The Save method should use whatever you have set in the Preferences dialog
Open|Save tab.
wrote in message news:5428256@discussion.autodesk.com...
The Document.Save method only saves to 2007 dwg files - this makes all
add-ons and external programs that use it disregard your default saveas
setting.

You can select what version to save to if you use the Document.SaveAs method
instead, but why doesn't the save method just check the registry value for
that default save setting & use it to determine to which version the dwg
must be saved? I mean, why is the setting there, why not use it for all
instances, not just the qsave command?
0 Likes
Message 5 of 7

Anonymous
Not applicable
Sorry, but I can "UN"confirm your confirmation.

I've got Save As in Tools-->Options-->Open and Save set to: AutoCAD 2004/LT2004

Type "VBASTMT ActiveDocument.Save" at the command line.

The resulting file is a 2007 file, checked it using a 2006 autocad - tells me it's an incompatible version. Opened it in Notepad: the type code in the file reads AC1021 instead of AC1018.

So, NO THE SAVE METHOD IGNORES YOUR SETTING.
0 Likes
Message 6 of 7

Anonymous
Not applicable
It appears there is a bug in AutoCAD 2007 and later versions.

If your file format is set to AutoCAD 2004 DWG it gets ignored and is saved
to 2007.

However, if it is set to AutoCAD 2000 DWG then your document is saved as
2000 which is the way it should work.

I did not check all of the settings but this should alert users to make sure
they are getting documents saved in the file format they wish [with the
exception of 2004].

Of course if you're using AutoCAD 2006 your file format is 2004 by default.
Also, having the preference set to AutoCAD 2000 DWG does save to 2000.

Joe ...

wrote in message news:5431117@discussion.autodesk.com...
Sorry, but I can "UN"confirm your confirmation.

I've got Save As in Tools-->Options-->Open and Save set to: AutoCAD
2004/LT2004

Type "VBASTMT ActiveDocument.Save" at the command line.

The resulting file is a 2007 file, checked it using a 2006 autocad - tells
me it's an incompatible version. Opened it in Notepad: the type code in the
file reads AC1021 instead of AC1018.

So, NO THE SAVE METHOD IGNORES YOUR SETTING.
0 Likes
Message 7 of 7

Anonymous
Not applicable
thanks joe for pointing out the bug, i had only tested it saving to 2000
which you pointed out works.

"Joe Sutphin" wrote in message
news:5431309@discussion.autodesk.com...
It appears there is a bug in AutoCAD 2007 and later versions.

If your file format is set to AutoCAD 2004 DWG it gets ignored and is saved
to 2007.

However, if it is set to AutoCAD 2000 DWG then your document is saved as
2000 which is the way it should work.

I did not check all of the settings but this should alert users to make sure
they are getting documents saved in the file format they wish [with the
exception of 2004].

Of course if you're using AutoCAD 2006 your file format is 2004 by default.
Also, having the preference set to AutoCAD 2000 DWG does save to 2000.

Joe ...

wrote in message news:5431117@discussion.autodesk.com...
Sorry, but I can "UN"confirm your confirmation.

I've got Save As in Tools-->Options-->Open and Save set to: AutoCAD
2004/LT2004

Type "VBASTMT ActiveDocument.Save" at the command line.

The resulting file is a 2007 file, checked it using a 2006 autocad - tells
me it's an incompatible version. Opened it in Notepad: the type code in the
file reads AC1021 instead of AC1018.

So, NO THE SAVE METHOD IGNORES YOUR SETTING.
0 Likes