Where is acdbSaveAs2007?

By Adam Nagy

I can see acdbSaveAs2004, acdbSaveAs2000, etc., but not acdbSaveAs2007, so I wonder how I can save the file to DWG 2007 format?

Solution

The acdbSaveAsXXX() functions are only there for compatibility reasons, and since AutoCAD 2010 they simply call AcDbDatabase::saveAs() underneath as you can see in dbmain.h

inline Acad::ErrorStatus acdbSaveAs2004(AcDbDatabase* pDb,

                                        const ACHAR* fileName)

{

    return pDb->saveAs(fileName, false, AcDb::kDHL_1800);

}


Comments

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading