read_sheet_of_light_model — Read a sheet-of-light model from a file and create a new model.
The operator read_sheet_of_light_model reads the sheet-of-light model from the file FileName and creates a new model that is an identical copy of the saved model. The parameter SheetOfLightModelID returns the handle of the new model. The model file FileName must have been created by the operator write_sheet_of_light_model. The default HALCON file extension for sheet-of-light model is 'solm'.
This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.
Name of the sheet-of-light model file.
Default value: 'sheet_of_light_model.solm'
File extension: .solm
Handle of the sheet-of-light model.
The operator read_sheet_of_light_model returns the value 2 (H_MSG_TRUE) if the named file was found and correctly read. Otherwise, an exception is raised.