C++
void beginWblock( AcDbDatabase*, AcDbDatabase*, const AcGePoint3d*& ) override;
Description
This callback function indicates that a wblock operation is being performed on a set of entities within the drawing database pFrom. The entities being wblocked out are stored in the drawing database specified by pTo and pTo's basepoint is set to insertionPoint. This callback is triggered when the user executes the AutoCAD WBLOCK command for a selected set of entities (rather than a user created BlockTableRecord) or when the equivalent of pFrom->wblock(pTo, outObjIds, insertionPoint) is used.
Parameters
| Parameters | Description |
|---|---|
| pTo | Passed in pointer to target drawing database |
| pFrom | Passed in pointer to source drawing database that contains the objects being wblocked |
| insertionPoint | Passed in pointer (in WCS coordinates of pTo) to be used as the base point in the pTo database |