API Reference > OdDAI Namespace > Classes > Model Class > Model Methods > initialize Method > Model::initialize Method (OdAnsiString &, OdAnsiString&, Repository *)
Model::initialize Method (OdAnsiString &, OdAnsiString&, Repository *)
Syntax
C++
void initialize(const OdAnsiString & name, const OdAnsiString& schemaName, Repository * repo);
Parameters 
Description 
const OdAnsiString & name 
[in] A string that contains the model's name.  
const OdAnsiString& schemaName 
[in] A string that contains the schema's name.  
Repository * repo 
[in] A raw pointer to a repository object that is associated with the model. 

Initializes the model object and creates a minimal model hierarchy based on a schema with the specified name.

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