Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbDatabase::getOdDbObjectId Method
Syntax
C++
OdDbObjectId getOdDbObjectId(const OdDbHandle& objHandle, bool createIfNotFound = false, OdUInt32 xRefId = 0);

Returns the object ID corresponding to the specified handle object in this database. 

 

Parameters
Description
objHandle
[in] Database handle.
createIfNotFound
[in] Controls the creation of the object if it does not exist.
xRefId
[in] Not used.

If objHandle is 0, this function will create a new unique handle and return a newly created object ID corresponding to this handle. 

createIfNotFound is for internal use only and should always be false for client applications.

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