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
toolsGoTools object.
toolThe tool of which the measurement is being added.
typeThe measurement type represented as a string to be added.
nameThe name to assign the new measurement.
measurementA handle to the newly added measurement. kNULL can be used.
Returns
Operation status.
See also
GoTools_ToolOptionCount, GoTools_ToolOptionAt, GoToolOption_MeasurementOptionCount, GoToolOption_MeasurementOptionAt