Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbDatabase::addOdDbObject Method
Syntax
C++
OdDbObjectId addOdDbObject(OdDbObject* pObject, OdDbObjectId ownerId = OdDbObjectId::kNull, OdDbHandle handle = 0);

Adds an object to this database object, and returns its Object 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 a handle is not supplied or is 0.

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