API Reference > OdDb Classes > OdDbEvalGraph Class > OdDbEvalGraph Methods > hasGraph Method > OdDbEvalGraph::hasGraph Method (OdDbObject*, OdString&)
OdDbEvalGraph::hasGraph Method (OdDbObject*, OdString&)
Syntax
C++
static bool hasGraph(const OdDbObject* pObj, const OdString& key);
Parameters 
Description 
const OdDbObject* pObj 
[in] Pointer to the object.  
const OdString& key 
[in] Graph key. 

Returns true if and only there is a graph with the specified key on the specified object.

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