API Reference > Classes > PRC Files, Structures and Assemblies > OdPrcModelFileData Class > OdPrcModelFileData Methods > unit Method > OdPrcModelFileData::unit Method ()
OdPrcModelFileData::unit Method ()
Syntax
C++
OdPrcUnit & unit();

Returns the current unit for the model. The unit is returned as a reference to an OdPrcUnit object, therefore it can be used to set a new unit for the model file.

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