API Reference > OdDb Classes > OdDbScale Class > OdDbScale Methods > OdDbScale::setDrawingUnits Method
OdDbScale::setDrawingUnits Method
Syntax
C++
void setDrawingUnits(double vUnits);
Parameters 
Description 
double vUnits 
[in] value of drawing units. 

Sets the number of drawing units as a positive Double value. The initial value is 1.0 by default. 

 

Example of Working with the Scale Object 

Working with Scales 

OdDbScale::drawingUnits(), OdDbScale::setPaperUnits(), OdDbScale::scale() methods

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