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

ModelPtr in read only mode

Get model in read only mode.

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