API Reference > OdDb Classes > OdDbLight Class > OdDbLight Methods > OdDbLight::dwgOutFields Method
OdDbLight::dwgOutFields Method
Syntax
C++
virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
Parameters 
Description 
OdDbDwgFiler* pFiler 
[out] Pointer to a filer object to which to write the data. 

Returns the filer status.

Writes the .dwg file data of this object. 

 

This function is called by dwgOut() 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.