C++
void beginSave( AcDbDatabase*, const ACHAR* ) override;
Description
This callback function indicates that the drawing database pDwg is about to be saved to the file specified by pIntendedName. At the time of this notification, the user has not yet had a chance to change the file name, so pIntendedName may not be the file name actually used to save the drawing.
The beginSave() function can be used to determine if the AutoSave feature is saving the file. Just check if the intended name of the drawing to be saved has 'sv$' extension. If it does, this indicates the Auto Save feature is saving the file.
Parameters
| Parameters | Description |
|---|---|
| pDb | Passed in pointer to source drawing database |
| pIntendedName | Passed in potential name of the file that the drawing will be saved to (this name may not actually be used) |