Share

AcEditorReactor::beginWblockObjects

C++

void beginWblockObjects(
    AcDbDatabase*, 
    AcDbIdMapping&
) override;

Description

If the clone type is kDcWblkObjects, then asking the idMap for its pFrom database will return NULL. This is because kDcWblkObjects can have more than one pFrom database.

Also, some applications need to know about the pFrom database before any cloning begins, so that they can preset the idMap and/or merge dictionaries between the pFrom and pTo databases before cloning starts.

This notification is sent out once for each pFrom database in a wblockCloneObjects() execution, and it is sent before any objects are actually cloned from that database.

Parameters

Parameters Description
pFrom Pointer to source drawing database containing the objects being wblocked
idMap Passed in object ID map for the objects being wblocked

Links

AcEditorReactor Class

Was this information helpful?