API Reference > OdDb Classes > OdDbViewport Class > OdDbViewport Methods > OdDbViewport::dxfInFields Method
OdDbViewport::dxfInFields Method
Syntax
C++
virtual OdResult dxfInFields(OdDbDxfFiler* pFiler);
Parameters 
Description 
OdDbDxfFiler* pFiler 
[in] Pointer to a filer object from which to read the data. 

Returns the filer status.

Reads the .dxf file data of this object. 

 

This function is called by dxfIn() to allow the object to read its data. When overriding this function:

  1. Call assertWriteEnabled().
  2. Call the parent class's dwgInFields(pFiler).
  3. If it returns eOK, continue; otherwise return whatever the parent's dxfInFields(pFiler) returned.
  4. Call the OdDbDxfFiler(pFiler) methods to read each of the object's data items in the order they were written.
  5. Return pFiler->filerStatus().
Copyright © 2002–2020. Open Design Alliance. All rights reserved.