API Reference > OdDb Classes > OdDbObject Class > OdDbObject Methods > OdDbObject::dwgOutFields Method
OdDbObject::dwgOutFields Method
Syntax
C++
virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
Parameters 
Description 
OdDbDwgFiler* pFiler 
[in] Pointer to the filer to which data are written. 

Writes the .dwg file data of this object. 

 

This function is called by dwgIn() to allow the object to write its data. 

When overriding this function: 

1) Call assertReadEnabled(). 2) Call the parent class's dwgOutFields(pFiler). 3) Call the OdDbDwgFiler(pFiler) methods to write each of the object's data items in the order they were written.

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