API Reference > OdDAI Namespace > Classes > Model Class > Model Methods > initialize Method > Model::initialize Method (OdAnsiString &, SchemaPtr &, Repository *)
Model::initialize Method (OdAnsiString &, SchemaPtr &, Repository *)
Syntax
C++
void initialize(const OdAnsiString & name, const SchemaPtr & schema, Repository * repo);
Parameters 
Description 
const OdAnsiString & name 
[in] A string that contains the schema's name.  
const SchemaPtr & schema 
[out] A placeholder for a schema object.  
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 specified schema.

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