clear_bead_inspection_model — Delete the bead inspection model and free the allocated memory.
clear_bead_inspection_model( : : BeadInspectionModel : )
The operator clear_bead_inspection_model deletes a bead inspection model that was created by create_bead_inspection_model. All memory used by the model is freed. The handle of the model is passed in BeadInspectionModel. It is invalid after the operator call.
Handle of the bead inspection model.
The operator clear_bead_inspection_model returns the value 2 (H_MSG_TRUE) if a valid handle is passed and the referred bead inspection model can be freed correctly. Otherwise, an exception will be raised.