clear_all_metrology_models — Delete all metrology models and free the allocated memory.
clear_all_metrology_models is obsolete and is only provided for reasons of backward compatibility. New applications should not use clear_all_metrology_models.
clear_all_metrology_models( : : : )
clear_all_metrology_models deletes all metrology models that were created by create_metrology_model, copy_metrology_model, read_metrology_model, or deserialize_metrology_model. All memory used by the models is freed. After the operator call, all metrology handles are invalid.
For an explanation of the concept of 2D metrology see the introduction of chapter 2D Metrology.
clear_all_metrology_models exists solely for the purpose of implementing the “reset program” functionality in HDevelop. clear_all_metrology_models must not be used in any application.
The operator clear_all_metrology_models returns the value 2 (H_MSG_TRUE) if all metrology models were freed correctly. Otherwise, an exception will be raised.