API Reference > OdDAI Namespace > Classes > Repository Class > Repository Methods > getModelRW Method > Repository::getModelRW Method (OdAnsiString &)
Repository::getModelRW Method (OdAnsiString &)
Syntax
C++
ModelPtr getModelRW(const OdAnsiString & modelName = REPOSITORY_DEFAULT_MODEL_NAME);
Parameters 
Description 
const OdAnsiString & modelName = REPOSITORY_DEFAULT_MODEL_NAME 
[in] model name which should be open in read/write mode  

ModelPtr in read/write mode

Get model in read only mode.

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