API Reference > Classes > PRC Base Classes > OdPrcUnit Class
OdPrcUnit Class
OdPrcUnit
Syntax
C++
class OdPrcUnit;

PrcUnit.h

 

Class representing the units used in a .prc file.

 
Name 
Description 
 
Sets a new value of the units.
 
 
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).
 
 
unit 
Returns the current unit value. 
 
Returns the current value 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.