Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
sdaiCreateInstanceBN Function
Syntax
C++
DAI_EXPORT SdaiAppInstance sdaiCreateInstanceBN(SdaiModel model, SdaiString entityName);

Creates an application instance within an associated model.

Parameters
Description
model
[in] A model.
entityName
[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.

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

SdaiModel model = ...; SdaiAppInstance cartesianPoint = sdaiCreateInstanceBN(model, "IfcCartesianPoint");

File: sdai.h

Copyright © 2002-2022. Open Design Alliance All rights reserved.