API Reference > Functions > SDAI > sdaiCreateInstanceBN Function
sdaiCreateInstanceBN Function
Syntax
C++
DAI_EXPORT SdaiAppInstance sdaiCreateInstanceBN(SdaiModel model, SdaiString entityName);

sdai.h

Parameters 
Description 
SdaiModel model 
[in] A model.  
entity 
[in] A name of the entity to be created.  

A created application instance represented with its pointer if it was created successfully; otherwise, the function returns a NULL pointer.

Creates an application instance within an associated model.

The function is case insensitive. The model should be accessed with the sdaiRW mode.

SdaiModel model = ...; SdaiAppInstance cartesianPoint = sdaiCreateInstanceBN(model, "IfcCartesianPoint");
Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.