API Reference > OdDAI Namespace > Classes > Model Class > Model Methods > Model::getEntityInstance Method
Model::getEntityInstance Method
Syntax
C++
OdDAIObjectId getEntityInstance(const OdDbHandle & h);
Parameters 
Description 
const OdDbHandle & h 
[in] A handle of the searched entity.  

An identifier of an OdDAI object if the entity was found; otherwise, the method returns a NULL identifier.

Searches the entity in the model by its handle.

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