simDuplicateGraphCurveToStatic

Duplicates a graph stream or curve, and freezes it

C++ synopsis

int simDuplicateGraphCurveToStatic(int graphHandle, int curveId, const char* staticCurveName)

Arguments

  • graphHandle: handle of the graph
  • curveId: the id of the stream or curve
  • staticCurveName: name of the new static stream/curve

Return

  • -1 if operation was not successful, otherwise the id of the created static stream or curve


See also: