Share

AcDbDatabase::wblock

C++

Acad::ErrorStatus wblock(
    AcDbDatabase*& pOutputDb
);

Description

Creates a new AcDbDatabase object, sets pOutputDb to point to it, and then uses the wblockClone mechanism to write the entire contents of the database on which this function is being called out to the new database pointed to by pOutputDb.

The calling application is responsible for deallocating (via the C++ delete operator) the AcDbDatabase object that pOutputDb is set to point to.

Returns Acad::eOk if operation is successful.

Parameters

Parameters Description
pOutputDb Returns pointer to the database that was written to

Links

AcDbDatabase Class

Was this information helpful?