API Reference > OdDb Classes > OdDbXrefGraph Class > OdDbXrefGraph Methods > OdDbXrefGraph::getFrom Method
OdDbXrefGraph::getFrom Method
Syntax
C++
static void getFrom(OdDbDatabase* pDb, OdDbXrefGraph& xrefGraph, bool includeGhosts = false);
Parameters 
Description 
OdDbDatabase* pDb 
[in] Pointer to the database.  
OdDbXrefGraph& xrefGraph 
[out] Receives the Xref tree.  
bool includeGhosts = false 
[in] Ignored. 

Populate the specified XrefGraph object with the Xref tree of the specified database. 

 

xrefGraph is reset at the start of this function.

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