API Reference > OdDb Classes > OdDbObjectId Class > OdDbObjectId Methods > OdDbObjectId::getHandle Method
OdDbObjectId::getHandle Method
Syntax
C++
const OdDbHandle& getHandle() const;

Returns the database handle of the object referenced by this ObjectId object.

Returns NULL if no database object is referenced by this ObjectId object. 

If this ObjectId object has been redirected from another database (possibly an Xref), this function returns the handle for this database.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.