API Reference > OdDAI Namespace > Classes > Model Class
Model Class
OdDAI__ModelOdDAI__ModelOdDAI__ModelOdDAI__Model
Syntax
C++
class Model : public SessionInstance;

daiModel.h

A class that implements functionality for working with models.

Appends a newly created entity instance to the model.  
This is the overview for the closeModel method overload. 
This is the overview for the createEntityInstance method overload. 
Deletes a specified entity instance from the model.  
Retrieves the count of all entity instances in this model.  
Retrieves an entity definition by its name.  
This is the overview for the getEntityExtent method overload. 
Retrieves the collection of entity instances with entity type which is kind of entityName.  
Searches the entity in the model by its handle.  
Retrieves whether the SDAI model is currently being loaded from a file.  
Retrieves whether the model is being written to a file.  
This is the overview for the initialize method overload. 
Inserts a newly created entity instance to the model.  
mode 
Retrieves the current access mode for the SDAI model.  
name 
Retrieves the name of the model.  
Creates an iterator to get sequential access to all entities of the model.  
Changes the access mode for the SDAI model from the read-only to the read-write. 
Assigns a new name to the specified SDAI model.  
Retrieves a repository that contains the model.  
Retrieves the underlying schema definition of the model.  
Retrieves the name of the model's underlying schema.  
This is the overview for the unloadEntityExtent method overload. 
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.