Gocator API

## ◆ GoTools_AddMeasurementByName()

kStatus GoTools_AddMeasurementByName | ( | GoTools | tools,
|  | GoTool | tool,
|  | const kChar * | type,
|  | const kChar * | name,
|  | GoMeasurement * | measurement
| ) |  |

Adds a measurement to a tool via a string representing the type.

Version
  Introduced in firmware 4.3.3.124

Parameters

  tools | GoTools object.
  tool | The tool of which the measurement is being added.
  type | The measurement type represented as a string to be added.
  name | The name to assign the new measurement.
  measurement | A handle to the newly added measurement. kNULL can be used.

Returns
  Operation status.

See also
  GoTools_ToolOptionCount, GoTools_ToolOptionAt, GoToolOption_MeasurementOptionCount, GoToolOption_MeasurementOptionAt