API Reference > Classes > PRC Base Classes > OdPrcUnit Class > OdPrcUnit Methods
OdPrcUnit Methods

The methods of the OdPrcUnit class are listed here.

 
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.