API Reference > OdRx Classes > OdRxEventReactor Class > OdRxEventReactor Methods > OdRxEventReactor::dwgFileOpened Method
OdRxEventReactor::dwgFileOpened Method
Syntax
C++
virtual void dwgFileOpened(OdDbDatabase* pDb, const OdString& filename);
Parameters 
Description 
OdDbDatabase* pDb 
[in] Pointer to the database being created.  
const OdString& filename 
[in] Name of the .dwg file. 

Notification function called whenever a .dwg file is being read. 

 

This function is called during the operation.

  • databaseConstructed
  • initialDwgFileOpenComplete

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