API Reference > OdDb Classes > OdDbDatabase Class > OdDbDatabase Methods > OdDbDatabase::setDimunit Method
OdDbDatabase::setDimunit Method
Syntax
C++
void setDimunit(int val);
Parameters 
Description 
int val 
[in] New value for DIMUNIT. [1..7] 

Sets the R14 DIMUNIT system variable of this database object. 

 

The DIMUNIT value will be converted to DIMLUNIT and DIMFRAC values.

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