API Reference > Classes > PRC Base Data Types Classes > OdPrcObjectId Class > OdPrcObjectId Methods > OdPrcObjectId::getHandle Method
OdPrcObjectId::getHandle Method
Syntax
C++
const OdDbHandle& getHandle() const;

Returns the database handle of the object referenced by the PRC object identifier. Returns NULL if no database object is referenced by this PRC object identifier.

If the identifier has been redirected from another database (for example, an Xref), the method returns the handle from the original database.

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