API Reference > OdDb Classes > OdDbEvalGraph Class > OdDbEvalGraph Methods > OdDbEvalGraph::addNode Method
OdDbEvalGraph::addNode Method
Syntax
C++
virtual OdDbEvalNodeId addNode(OdDbEvalExpr* pNode);
Parameters 
Description 
OdDbEvalExpr* pNode 
[in] Pointer to the GsNode object. 

Returns the node ID of the newly added node.

Adds a node to this Graph object.

For database resident Graphs, the user is expected to close returned nodes when done for them. This includes the pNode argument.

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