API Reference > Classes > PRC Base Classes > OdPrcUnit Class > OdPrcUnit Methods > OdPrcUnit::setUnitFromCADFile Method
OdPrcUnit::setUnitFromCADFile Method
Syntax
C++
void setUnitFromCADFile(bool unit_from_CAD_file);
Parameters 
Description 
bool unit_from_CAD_file 
[in] A new value of the flag to be set. The actual flag indicates whether the unit value came from an actual CAD file (if yes, the flag is equal to true). 

Sets a new value of the actual flag. The actual flag indicates whether the unit value came from an actual CAD file (if yes, the flag is equal to true). 

 

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