reset_metrology_object_param — Reset all parameters of a metrology model.
reset_metrology_object_param discards all settings of the parameters for the metrology objects that can be set by the operator set_metrology_object_param and restores the default values (see create_metrology_model for the basic principle of 2D metrology). The calibration data that can be set via 'camera_param' und 'world_pose' with the operator set_metrology_object_param is not discarded. This data can be discarded only with the operator set_metrology_object_param.
The metrology model is defined by the handle MetrologyHandle. The parameter Indices determines the metrology objects to reset. With Indices set to 'all', all metrology objects are reset.
A metrology model 'MetrologyHandle' cannot be shared between two or more user's threads. Different metrology models can be used independently and safely in different threads.
Handle of the metrology model.
Indices of the metrology objects.
Default value: 'all'
Suggested values: 'all', 0, 1, 2
If the parameters are valid, the operator reset_metrology_object_param returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.