API Reference > Classes > Database Classes > OdBmUnitUtils Class > OdBmUnitUtils Methods > OdBmUnitUtils::isScalePredefined Method
OdBmUnitUtils::isScalePredefined Method
Syntax
C++
static bool isScalePredefined(OdBm::UnitSystem::Enum unitSystem, OdInt32 scale);
Parameters 
Description 
OdBm::UnitSystem::Enum unitSystem 
[in] unit system  
OdInt32 scale 
[in] scale value to check 

Checks if scale predifined in given unit system 

 

Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.