API Reference > OdRx Classes > OdRxEventReactor Class > OdRxEventReactor Methods > beginInsert Method > OdRxEventReactor::beginInsert Method (OdDbDatabase*, OdString&, OdDbDatabase*)
OdRxEventReactor::beginInsert Method (OdDbDatabase*, OdString&, OdDbDatabase*)
Syntax
C++
virtual void beginInsert(OdDbDatabase* pToDb, const OdString& blockName, OdDbDatabase* pFromDb);
Parameters 
Description 
OdDbDatabase* pToDb 
[in] Destination database.  
const OdString& blockName 
[in] Name of the block. 
OdDbDatabase* pFromDb 
[in] Source database.  

Notification function called whenever one database is about to be inserted into another. 

 

This function is called before the operation. 

If blockName is specified, pFromDb was inserted into pToDb as a OdDbBlockTableRecord.

  • abortInsert
  • endInsert
  • otherInsert

Copyright © 2002–2020. Open Design Alliance. All rights reserved.