C++
void abortInsert( AcDbDatabase* ) override;
Description
This callback function indicates that an insert operation on the pTo drawing database was terminated and did not complete.
If this notification occurs, then the pTo database is in an unstable incomplete state because the insert operation is not completed.
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. So, if the AcEditorReactor::abortInsert notification is sent, it is sent before the user is ever prompted for the insertion point because the actual import operation takes place before that prompt is given. This means that if the user terminates the INSERT command after the insertion point prompt has been issued, no AcEditorReactor::abortInsert notification is sent.
Also, if the INSERT command is inserting a block that is already in the drawing, then no importation process occurs, so the AcEditorReactor::abortInsert notification is never sent.
Parameters
| Parameters | Description |
|---|---|
| pTo | Passed in pointer to target drawing database |