API Reference > Functions > SDAI > sdaiAccessModelBN Function
sdaiAccessModelBN Function
Syntax
C++
DAI_EXPORT SdaiModel sdaiAccessModelBN(SdaiRep repository, SdaiString modelName, SdaiAccessMode mode);

sdai.h

Parameters 
Description 
SdaiRep repository 
[in] A repository that owns the model. The function searches the model in this repository by the name.  
SdaiString modelName 
[in] A model name.  
SdaiAccessMode mode 
[in] An open mode.  

A pointer to the open model if the function successfully opens the model; otherwise, the function returns the NULL value.

Opens a specified model in a specified mode. The model is specified by its repository and name.

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