C++
Acad::ErrorStatus acedXrefNotifyCheckFileChanged( AcDbObjectId btrId, bool& hasChanged );
File
acedxref.h
Description
This function can be used to check whether an external reference file has been changed since it has been loaded into the host database.
Parameters
Parameters | Description |
---|---|
btrId | Input the AcDbObjectId of the block table record corresponding to an external reference for which the associated drawing file is to be checked for changes. |
hasChanged | Input bool to indicate whether the external reference drawing file was determined to have been changed. |
Notes
The external reference notification feature uses the same code every so often to monitor all externally referenced drawing files for changes. A file is considered changed if it has a different file size or a different timestamp as compared to when the file was most recently loaded into the host database.