Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgDatabase::addOdDgElement Method
Syntax
C++
OdDgElementId addOdDgElement(OdDgElement* pObject, OdDgElementId ownerId = OdDgElementId::kNull, OdDbHandle handle = 0);

Adds an object to this database object, and returns its Element ID. 

 

Parameters
Description
pObject
[in] Pointer to the object.
ownerId
[in] Object ID of the owner of pObject.
handle
[in] Handle for pObject

A unique handle will be generated if handle is not supplied or is 0.

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