API Reference > OdDb Classes > OdDbScale Class > OdDbScale Methods > OdDbScale::scale Method
OdDbScale::scale Method
Syntax
C++
double scale() const;

Returns the scale factor as a positive Double value. This factor defines the ratio in which units of model space correlate to the units of paper space and indicates how many paper units fit to one drawing unit.

Example of Working with the Scale Object 

Working with Scales 

OdDbScale::paperUnits(), OdDbScale::drawingUnits() methods

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