Clear the data in the Graphlayer and Reset the Graphlayer.
bool graphlayer_reset( GraphLayer & gl )
Returns True if success; and false on failure.
Ex1
//For this example to run, make the graph layer active in the project void graphlayer_reset() { GraphLayer gl = Project.ActiveLayer(); if(graphlayer_reset( gl )) printf("Reset success!"); }
origin.h