Share

acdbSaveAs2004

C++

inline Acad::ErrorStatus acdbSaveAs2004(
    AcDbDatabase* pDb, 
    const ACHAR* fileName
);

File

dbmain.h

Description

This functions saves the AcDbDatabase object pointed to by pDb to a DWG file whose name is fileName. The file is saved in AutoCAD 2004 format.

Returns Acad::eOk if successful.

If the AcDbDatabase object pointed to by pDb is in a partial open state, then the save fails, and Acad::eInvalidInput is returned.

Parameters

Parameters Description
pDb Input pointer to the database to be saved
fileName Input name of file to which the database is saved

Was this information helpful?