API Reference > Functions > SDAI > sdaiCreateModel Function
sdaiCreateModel Function
Syntax
C++
DAI_EXPORT SdaiModel sdaiCreateModel(SdaiRep repository, SdaiString modelName, SdaiSchema schema);

sdai.h

Parameters 
Description 
SdaiRep repository 
[in] A SDAI repository that contains the model.  
SdaiString modelName 
[in] A string that contains the model name.  
schemaName 
[in] A string that contains the schema name.  

An identifier of the created model.

Creates a new SDAI model instance.

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