read_sheet_of_light_modelT_read_sheet_of_light_modelReadSheetOfLightModelReadSheetOfLightModelread_sheet_of_light_model (Operator)

Name

read_sheet_of_light_modelT_read_sheet_of_light_modelReadSheetOfLightModelReadSheetOfLightModelread_sheet_of_light_model — Read a sheet-of-light model from a file and create a new model.

Signature

read_sheet_of_light_model( : : FileName : SheetOfLightModelID)

Herror T_read_sheet_of_light_model(const Htuple FileName, Htuple* SheetOfLightModelID)

void ReadSheetOfLightModel(const HTuple& FileName, HTuple* SheetOfLightModelID)

void HSheetOfLightModel::HSheetOfLightModel(const HString& FileName)

void HSheetOfLightModel::HSheetOfLightModel(const char* FileName)

void HSheetOfLightModel::HSheetOfLightModel(const wchar_t* FileName)   ( Windows only)

void HSheetOfLightModel::ReadSheetOfLightModel(const HString& FileName)

void HSheetOfLightModel::ReadSheetOfLightModel(const char* FileName)

void HSheetOfLightModel::ReadSheetOfLightModel(const wchar_t* FileName)   ( Windows only)

static void HOperatorSet.ReadSheetOfLightModel(HTuple fileName, out HTuple sheetOfLightModelID)

public HSheetOfLightModel(string fileName)

void HSheetOfLightModel.ReadSheetOfLightModel(string fileName)

def read_sheet_of_light_model(file_name: str) -> HHandle

Description

The operator read_sheet_of_light_modelread_sheet_of_light_modelReadSheetOfLightModelReadSheetOfLightModelread_sheet_of_light_model reads the sheet-of-light model from the file FileNameFileNameFileNamefileNamefile_name and creates a new model that is an identical copy of the saved model. The parameter SheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDsheetOfLightModelIDsheet_of_light_model_id returns the handle of the new model. The model file FileNameFileNameFileNamefileNamefile_name must have been created by the operator write_sheet_of_light_modelwrite_sheet_of_light_modelWriteSheetOfLightModelWriteSheetOfLightModelwrite_sheet_of_light_model. The default HALCON file extension for sheet-of-light model is 'solm'.

Execution Information

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.

Parameters

FileNameFileNameFileNamefileNamefile_name (input_control)  filename.read HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Name of the sheet-of-light model file.

Default: 'sheet_of_light_model.solm' "sheet_of_light_model.solm" "sheet_of_light_model.solm" "sheet_of_light_model.solm" "sheet_of_light_model.solm"

File extension: .solm

SheetOfLightModelIDSheetOfLightModelIDSheetOfLightModelIDsheetOfLightModelIDsheet_of_light_model_id (output_control)  sheet_of_light_model HSheetOfLightModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the sheet-of-light model.

Result

The operator read_sheet_of_light_modelread_sheet_of_light_modelReadSheetOfLightModelReadSheetOfLightModelread_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.

Possible Successors

measure_profile_sheet_of_lightmeasure_profile_sheet_of_lightMeasureProfileSheetOfLightMeasureProfileSheetOfLightmeasure_profile_sheet_of_light

Alternatives

create_sheet_of_light_modelcreate_sheet_of_light_modelCreateSheetOfLightModelCreateSheetOfLightModelcreate_sheet_of_light_model

See also

write_sheet_of_light_modelwrite_sheet_of_light_modelWriteSheetOfLightModelWriteSheetOfLightModelwrite_sheet_of_light_model

Module

3D Metrology