API Reference > OdDb Classes > OdDbDxfFiler Class > OdDbDxfFiler Methods > OdDbDxfFiler::wrDoubleOpt Method
OdDbDxfFiler::wrDoubleOpt Method
Syntax
C++
void wrDoubleOpt(int groupCode, double value, double defaultValue = 0., int precision = kDfltPrec);
Parameters 
Description 
int groupCode 
[in] Group code.  
double value 
[in] Value.  
double defaultValue = 0. 
[in] Default value.  
int precision = kDfltPrec 
[in] Decimal places. 

Writes the specified optional double value to this Filer object.

value is written if and only if (value != default) || (includesDefaultValues() == true) 

 

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