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

Returns the object's database handle.

Retrieves the database handle of the object referenced by the identifier.

Returns a NULL handle if no database object is referenced by the identifier. The handle equals the file's step-id if the owning model of the entity was loaded from a file.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.