C++
void beginWblock( AcDbDatabase*, AcDbDatabase*, AcDbObjectId ) override;
Description
This callback function indicates that a wblock operation is being performed on the drawing database pFrom. in order to copy all the entities within the BlockTableRecord with the object ID blockId out to the drawing database specified by pTo.
This is triggered when the WBLOCK is used with a block name rather than selecting entities. Or this notification can be triggered when the equivalent of pFrom->wblock(pTo, blockId) is called.
Parameters
| Parameters | Description |
|---|---|
| pTo | Passed in pointer to target drawing database |
| pFrom | Passed in pointer to source drawing database which contains the objects being wblocked |
| blockId | Passed in object ID of BlockTableRecord being wblocked |