API Reference > OdDb Classes > OdDbEvalGraph Class > OdDbEvalGraph Methods > getGraph Method > OdDbEvalGraph::getGraph Method (OdDbDatabase*, OdString&, OdDb::OpenMode)
OdDbEvalGraph::getGraph Method (OdDbDatabase*, OdString&, OdDb::OpenMode)
Syntax
C++
static OdDbEvalGraphPtr getGraph(OdDbDatabase* pDb, const OdString& key, const OdDb::OpenMode openMode = OdDb::kForRead);
Parameters 
Description 
OdDbDatabase* pDb 
[in] Pointer to the database.  
const OdString& key 
[in] Graph key.  
const OdDb::OpenMode openMode = OdDb::kForRead 
[in] Mode in which to open the Graph object. 

Returns the Graph object with the specified key on the specified database. 

 

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