Share

AcEditorReactor::endInsert

C++

void endInsert(
    AcDbDatabase*
) override;

Description

This callback function usually indicates that an insert operation on the drawing database is complete.

However, in some cases, the transform has not yet happened, or the block that was created has not yet been appended. This means the objects copied are not yet graphical, which also means that you cannot use them in selection sets until the commandEnded notification is received.

Note: In the context of the AutoCAD INSERT command, the "insert" process that this notification deals with is strictly the operation of importing objects from a drawing file on disk into the drawing currently in the AutoCAD editor. The AcEditorReactor::endInsert is sent before the user is ever prompted for the insertion point because the actual import operation takes place before that prompt is given.

Also, if the INSERT command is inserting a block that is already in the drawing, then no importation process occurs, so the AcEditorReactor::endInsert notification is not sent.

Parameters

Parameters Description
pTo Passed in pointer to target drawing database

Links

AcEditorReactor Class

Was this information helpful?