Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
Model::createEntityInstance Method (const char *)
Syntax
C++
ApplicationInstancePtr createEntityInstance(const char * entityTypeName);

Creates a new instance of a specified entity type.

Parameters
Description
entityTypeName
[in] A string that contains the type name of the new entity to be created.

A smart pointer to the created entity instance.

If the current schema does not support the specified type, the method returns a NULL smart pointer. In this case, the isNull() method of the smart pointer object returns true. The created entity is not attached to the model.

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