Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
OdBmDatabase::addElement Method
Syntax
C++
OdBmObjectId addElement(const OdBmElementPtr& pObj);

Adds a new element and registers it in the database.

Parameters
Description
pObj
[in] A smart pointer to the created object that should be added to the database.

If the element was successfully added to the database, the method returns the identifier of the created element; otherwise it returns a null identifier.

Please note that a null identifier has a value, which is not equal to zero (OdBmObjectId::kNull).

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