Operators |
clear_sheet_of_light_model — Delete a sheet-of-light model and free the allocated memory.
clear_sheet_of_light_model( : : SheetOfLightModelID : )
The operator clear_sheet_of_light_model deletes a sheet-of-light model that was created by create_sheet_of_light_model. All memory used by the model is freed. The handle of the model is passed in SheetOfLightModelID. After the operator call it is invalid.
This operator changes the data in the handle. Therefore one and the same sheet-of-light model cannot be used concurrently in different threads when using this operator. If you want to use the same handle in multiple threads you have to synchronize the threads to assure that they do not access the same handle simultaneously. Different sheet-of-light models can be used independently and safely in different threads.
Handle of the sheet-of-light model.
The operator clear_sheet_of_light_model returns the value 2 (H_MSG_TRUE) if a valid handle is passed and the referred sheet-of-light model can be freed correctly. Otherwise, an exception will be raised.
3D Metrology
Operators |