API Reference > OdDb Classes > OdDbLeader Class > OdDbLeader Methods > OdDbLeader::setDimscale Method
OdDbLeader::setDimscale Method
Syntax
C++
virtual void setDimscale(double val);
Parameters 
Description 
double val 
[in] New value for DIMSCALE. 

Sets the DIMSCALE override for this object.

DIMSCALE is an scale factor applied to all dimension variables that regulate sizes, offsets, and distances. 

DIMSCALE serves as an overall "volume control" for dimensions and leaders. 

 

Value 
Description 
0.0 
A "reasonable" value is computed for model space viewports. 
> 0.0 
If set to the inverse of the plot scale, plotted dimensions will be at the sizes specified by the other dimension variables. 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.