C++
Acad::ErrorStatus acdbUnloadXrefs( AcDbDatabase* pHostDb, const AcDbObjectIdArray& xrefBlkIds, const bool bQuiet = true );
File
acdbxref.h
Description
Unloads the xrefs whose AcDbBlockTableRecord ObjectIds are in xrefBlkIds. The ObjectIds in xrefBlkIds must all be from pHostDb. If pHostDb is NULL, then the database specified by AcDbHostApplicationServices::workingDatabase() will be assumed to be the host database. If bQuiet is false, then status and error messages will be sent to AcDbHostApplicationServices::DisplayString().
Returns Acad::eOk if the operation is successful.
Parameters
Parameters | Description |
---|---|
pHostDb | Input pointer to the host database for the unload operation. |
xrefBlkIds | Input array of ObjectIds for the xref AcDbBlockTableRecords to unload |
bQuiet | Input Boolean indicating whether to suppress displaying error and warning messages. |