Share

AcEditorReactor::comandeered

C++

void comandeered(
    AcDbDatabase*, 
    AcDbObjectId, 
    AcDbDatabase*
) override;

Description

This callback indicates that an object is commandeered, meaning that the objectId of the object is appended to the host drawing's (the drawing being XREFd into) symbol table.

For example, if drawing "XREF" has a Block called "GOO", then rather than move the entire block into the host drawing, the host drawing's Block Table just appends GOO's objectId to its symbol table, and changes the newly appended entry's name to "XREF|GOO".

pTo is the host drawing, id is the objectId of the object which is being commandeered, and pFrom is the XREF drawing.

Parameters

Parameters Description
pTo Passed in pointer to target or host drawing to receive the XREF
id Passed in object ID of the object that is being commandeered
pFrom Passed in pointer to the drawing that is being XREFd

Links

AcEditorReactor Class

Was this information helpful?