API Reference > OdDAI Namespace > Classes > Repository Class > Repository Methods > createModel Method > Repository::createModel Method (OdAnsiString &, OdAnsiString &)
Repository::createModel Method (OdAnsiString &, OdAnsiString &)
Syntax
C++
ModelPtr createModel(const OdAnsiString & name, const OdAnsiString & schemaName);
Parameters 
Description 
const OdAnsiString & name 
[in] name of created model  
schema 
[in] schema name of created model  

ModelPtr

Create a new model with name and schema in the repository.

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