Close

Relief for ODA Team in Ukraine

Learn more
ODA BimRv SDK
OdBmDirectShape::createElement Method
Syntax
C++
static OdResult createElement(OdBmDatabasePtr& pDb, const OdBmObjectId& categoryId, OdBmElementPtr & pDirectShape);

Creates a direct shape element and adds to database.

Parameters
Description
pDb
[in] Database for DirectShape.
categoryId
[in] An identifier of the created element category. Must be a valid category identifier.
pDirectShape
[out] Pointer to created directShape.

eOk if the element instance was successfully created; otherwise the method returns an appropriate error code.

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